Small fixes for ESP Serial Init and Power FSM debug garble.

This commit is contained in:
Thomas Göttgens committed 2022-09-19 15:36:48 +02:00
1 parent ccf93b8c23
commit dd8cb1c7fb
2 files changed
+2 -7

No files matched your search

+1 -6
View File
@@ -145,7 +145,7 @@ bool GPS::setupGPS()
if (_serial_gps && !didSerialInit) {
didSerialInit = true;
#if CONFIG_IDF_TARGET_ESP32S3
#if ARCH_ESP32
// In esp32s3 framework, setRxBufferSize needs to be initialized before Serial
_serial_gps->setRxBufferSize(2048); // the default is 256
#endif
@@ -157,11 +157,6 @@ bool GPS::setupGPS()
_serial_gps->begin(GPS_BAUDRATE);
#endif
#if CONFIG_IDF_TARGET_ESP32
_serial_gps->setRxBufferSize(2048); // the default is 256
#endif
#ifdef LILYGO_TBEAM_S3_CORE
/*
* T-Beam-S3-Core will be preset to use gps Probe here, and other boards will not be changed first