Update GPS.cpp

This commit is contained in:
Thomas Göttgens 2022-09-19 15:46:59 +02:00 committed by GitHub
parent dd8cb1c7fb
commit 207f701f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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