From eca7242a1fe240537c0f9120f8cb778fafd3079c Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Wed, 7 Oct 2020 14:00:59 +0800 Subject: [PATCH] fix NRF52 build --- src/gps/UBloxGPS.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gps/UBloxGPS.cpp b/src/gps/UBloxGPS.cpp index 0429fc0e5..1007162b6 100644 --- a/src/gps/UBloxGPS.cpp +++ b/src/gps/UBloxGPS.cpp @@ -31,7 +31,9 @@ bool UBloxGPS::setupGPS() #else _serial_gps->begin(GPS_BAUDRATE); #endif +#ifndef NO_ESP32 _serial_gps->setRxBufferSize(1024); // the default is 256 +#endif } // uncomment to see debug info