diff --git a/esp32_marauder/GpsInterface.cpp b/esp32_marauder/GpsInterface.cpp index c4cb69c..f22354e 100644 --- a/esp32_marauder/GpsInterface.cpp +++ b/esp32_marauder/GpsInterface.cpp @@ -102,7 +102,7 @@ void GpsInterface::enqueue(MicroNMEA& nmea){ int size=text_in->size(); if(size){ #ifdef GPS_TEXT_MAXCOPIES - if(this->text_cycles>GPS_TEXT_MAXCOPIES){ + if(this->text_cycles>=GPS_TEXT_MAXCOPIES){ #else if(this->text_cycles){ #endif @@ -631,4 +631,4 @@ void GpsInterface::main() { this->setGPSInfo(); } } -#endif \ No newline at end of file +#endif diff --git a/esp32_marauder/MenuFunctions.cpp b/esp32_marauder/MenuFunctions.cpp index b0c5220..c727953 100644 --- a/esp32_marauder/MenuFunctions.cpp +++ b/esp32_marauder/MenuFunctions.cpp @@ -1679,7 +1679,6 @@ void MenuFunctions::RunSetup() }); this->addNodes(&deviceMenu, "NMEA Stream", TFT_ORANGE, NULL, GPS_MENU, [this]() { - gps_obj.enable_queue(); wifi_scan_obj.currentScanMode = WIFI_SCAN_GPS_NMEA; this->changeMenu(&gpsInfoMenu); wifi_scan_obj.StartScan(WIFI_SCAN_GPS_NMEA, TFT_ORANGE);