mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 01:16:55 +00:00
Attempt: Send PMREQ with duration 0 on MCU deep-sleep
This commit is contained in:
parent
b7d43c55cb
commit
9d29ec7603
@ -1131,7 +1131,8 @@ int GPS::prepareDeepSleep(void *unused)
|
||||
{
|
||||
LOG_INFO("GPS deep sleep!\n");
|
||||
|
||||
setAwake(false);
|
||||
// Manually enter GPSPowerState::OFF, so we can ensure a PMREQ with duration 0 has been sent
|
||||
setGPSPower(false, false, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user