VEXT fix for Heltec Wireless Tracker

This commit is contained in:
Ricardo Guzman committed 2026-10-07 15:09:16 -03:00
1 parent a045599df1
commit 9314bf10ba
2 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -433,7 +433,7 @@ namespace Utils {
displayToggle(false);
}
#ifdef VEXT_CTRL_PIN
digitalWrite(VEXT_CTRL_PIN, !VEXT_CTRL_ON_STATE); // VEXT off before deep sleep (always, regardless of ecoMode)
POWER_Utils::vext_ctrl_OFF(); // 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