diff --git a/esp32_marauder/MenuFunctions.cpp b/esp32_marauder/MenuFunctions.cpp index f198a2d..5144a45 100644 --- a/esp32_marauder/MenuFunctions.cpp +++ b/esp32_marauder/MenuFunctions.cpp @@ -2094,9 +2094,11 @@ void MenuFunctions::RunSetup() this->changeMenu(&bluetoothMenu, true); }); #ifdef HAS_GPS - this->addNodes(&mainMenu, text1_66, TFTRED, NULL, GPS_MENU, [this]() { - this->changeMenu(&gpsMenu, true); - }); + if (gps_obj.getGpsModuleStatus()) { + this->addNodes(&mainMenu, text1_66, TFTRED, NULL, GPS_MENU, [this]() { + this->changeMenu(&gpsMenu, true); + }); + } #endif this->addNodes(&mainMenu, text_table1[9], TFTBLUE, NULL, DEVICE, [this]() { this->changeMenu(&deviceMenu, true); @@ -4364,3 +4366,4 @@ void MenuFunctions::displayCurrentMenu(int start_index) } #endif + diff --git a/esp32_marauder/configs.h b/esp32_marauder/configs.h index 648f8fb..dfbc854 100644 --- a/esp32_marauder/configs.h +++ b/esp32_marauder/configs.h @@ -1010,7 +1010,7 @@ #endif #ifndef MARAUDER_CYD_MICRO - #define TFT_DIY + #define TFT_DIY #endif #define GRAPH_VERT_LIM TFT_HEIGHT/2