T-watch: fix gps toggle bug caused by previous spiffs+littlefs partition additions wipe and update

This commit is contained in:
pelgraine
2026-07-09 18:55:51 +10:00
parent ada989ea72
commit 732cc2e8b2
@@ -3183,6 +3183,9 @@ void UITask::toggleGPS() {
#if defined(LilyGo_TDeck_Pro_Max)
board.gpsPowerOff(); // MAX: GPS power is XL9555-routed, not PIN_GPS_EN
#endif
#if defined(LILYGO_TWATCH_S3_PLUS)
board.gpsPowerOff(); // Watch: GPS power is the AXP2101 BLDO1 rail
#endif
notify(UIEventType::ack);
} else {
// Enable GPS — power on hardware
@@ -3194,6 +3197,9 @@ void UITask::toggleGPS() {
#if defined(LilyGo_TDeck_Pro_Max)
board.gpsPowerOn(); // MAX: GPS power is XL9555-routed, not PIN_GPS_EN
#endif
#if defined(LILYGO_TWATCH_S3_PLUS)
board.gpsPowerOn(); // Watch: GPS power is the AXP2101 BLDO1 rail
#endif
notify(UIEventType::ack);
}
the_mesh.savePrefs();