mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
just do sleep through the observer like I have been
This commit is contained in:
parent
fdc47728af
commit
52e8dc7317
@ -438,7 +438,7 @@ int32_t GPS::runOnce()
|
|||||||
LOG_DEBUG("GPS is not communicating, trying factory reset on next bootup.\n");
|
LOG_DEBUG("GPS is not communicating, trying factory reset on next bootup.\n");
|
||||||
devicestate.did_gps_reset = false;
|
devicestate.did_gps_reset = false;
|
||||||
nodeDB.saveDeviceStateToDisk();
|
nodeDB.saveDeviceStateToDisk();
|
||||||
prepareDeepSleep();
|
notifyGPSSleep.notifyObservers(NULL);
|
||||||
forceWake(false);
|
forceWake(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user