diff --git a/src/fdrs_gateway_serial.h b/src/fdrs_gateway_serial.h index dcbbe0d..9d092b2 100644 --- a/src/fdrs_gateway_serial.h +++ b/src/fdrs_gateway_serial.h @@ -6,6 +6,7 @@ #define UART_IF Serial #endif +#if defined(ESP32) || defined(ESP8266) #if !defined RXD2 or !defined TXD2 #warning Defining RXD2 and TXD2 using MCU defaults. #if CONFIG_IDF_TARGET_ESP32 @@ -21,6 +22,7 @@ #error MCU not supported. #endif #endif +#endif void getSerial() { String incomingString;