diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index 5099589f..c4cdb39b 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -145,7 +145,7 @@ bool GPS::setupGPS() if (_serial_gps && !didSerialInit) { didSerialInit = true; -#if ARCH_ESP32 +#ifdef ARCH_ESP32 // In esp32s3 framework, setRxBufferSize needs to be initialized before Serial _serial_gps->setRxBufferSize(2048); // the default is 256 #endif