Merge pull request #951 from H4W9/H4W9-GPS-Option-Fix

H4W9 gps option fix
This commit is contained in:
Just Call Me Koko
2025-10-27 12:21:27 -04:00
committed by GitHub
2 changed files with 7 additions and 4 deletions

View File

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

View File

@@ -1010,7 +1010,7 @@
#endif
#ifndef MARAUDER_CYD_MICRO
#define TFT_DIY
#define TFT_DIY
#endif
#define GRAPH_VERT_LIM TFT_HEIGHT/2