just do sleep through the observer like I have been

This commit is contained in:
code8buster 2023-01-21 08:33:43 -05:00
parent fdc47728af
commit 52e8dc7317

View File

@ -438,7 +438,7 @@ int32_t GPS::runOnce()
LOG_DEBUG("GPS is not communicating, trying factory reset on next bootup.\n");
devicestate.did_gps_reset = false;
nodeDB.saveDeviceStateToDisk();
prepareDeepSleep();
notifyGPSSleep.notifyObservers(NULL);
forceWake(false);
}
}