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); 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"