From f3ae9d0f10372fa1221d996b1d452ab47dbcff30 Mon Sep 17 00:00:00 2001 From: Silviu Toderita Date: Fri, 7 May 2021 11:20:06 -0700 Subject: [PATCH 1/2] Removed unused include statement --- src/can-serial.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/can-serial.h b/src/can-serial.h index a45756e..0133ca9 100644 --- a/src/can-serial.h +++ b/src/can-serial.h @@ -22,7 +22,6 @@ //#endif #include "mcp_can.h" -#include "SoftwareSerial.h" #define LW232_LAWICEL_VERSION_STR "V1013" From 5863c67c7049018673ff4e88ad2157d2cd486e65 Mon Sep 17 00:00:00 2001 From: Silviu Toderita Date: Sat, 8 May 2021 12:28:14 -0700 Subject: [PATCH 2/2] Re-include SoftwareSerial in conditional in can-serial.cpp --- src/can-serial.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/can-serial.cpp b/src/can-serial.cpp index 9bd01df..16b9955 100644 --- a/src/can-serial.cpp +++ b/src/can-serial.cpp @@ -34,6 +34,7 @@ #endif #ifdef LOGGING_ENABLED + #include "SoftwareSerial.h" // software serial #2: TX = digital pin 8, RX = digital pin 9 // on the Mega, use other pins instead, since 8 and 9 don't work on the Mega SoftwareSerial debug(DEBUG_RX_PIN, DEBUG_TX_PIN);