gps fix for supreme

This commit is contained in:
Ricardo Guzman committed 2026-10-07 14:08:56 -03:00
1 parent 9930603e99
commit a045599df1
1 file changed
+1
+1
View File
@@ -436,6 +436,7 @@ namespace Utils {
digitalWrite(VEXT_CTRL_PIN, !VEXT_CTRL_ON_STATE); // VEXT off before deep sleep (always, regardless of ecoMode)
#endif
LoRa_Utils::sleepRadio();
POWER_Utils::deactivateGPS(); // GPS rail off (AXP boards), otherwise it keeps draining the low battery while sleeping
#ifdef RADIO_VCC_PIN
digitalWrite(RADIO_VCC_PIN, LOW); // cut LoRa module power (QRP Labs LightGateway) so it draws nothing while sleeping
#endif