From 25bf7a6c3c0817a751ba972ac097ca584d41fc39 Mon Sep 17 00:00:00 2001 From: Giuseppe Date: Mon, 23 Sep 2019 11:16:46 +0200 Subject: [PATCH] Update for SAMD MCU It serves to make the library compatible with SAMD MCU (Arduino Zero, samd21) and all MCUs incompatible with SoftwareSerial. --- NexUpload.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NexUpload.cpp b/NexUpload.cpp index ff85eb92..e8e1c703 100644 --- a/NexUpload.cpp +++ b/NexUpload.cpp @@ -14,10 +14,11 @@ */ #include "NexUpload.h" -#include //#define USE_SOFTWARE_SERIAL + #ifdef USE_SOFTWARE_SERIAL +#include SoftwareSerial dbSerial(3, 2); /* RX:D3, TX:D2 */ #define DEBUG_SERIAL_ENABLE #endif