From 52e8dc73176beda190068a5104453dd16c14aea0 Mon Sep 17 00:00:00 2001 From: code8buster Date: Sat, 21 Jan 2023 08:33:43 -0500 Subject: [PATCH] just do sleep through the observer like I have been --- src/gps/GPS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index e56568dda..61e5a6b5d 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -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); } }