mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 09:52:23 +00:00
Use sleep_gps for T1000e for faster GPS lock
This commit is contained in:
1 parent
1aa8ae90fb
commit
95d63736d4
1 file changed
+1
-1
@@ -182,7 +182,7 @@ void T1000SensorManager::loop() {
|
||||
POWERSAVING_DEBUG_PRINTLN("GPS set. Enter sleep early");
|
||||
}
|
||||
|
||||
stop_gps();
|
||||
sleep_gps();
|
||||
} else if (!gps_wake && ((int32_t)(millis() - _nmea->getNextWake()) >= 0)) { // Time to on
|
||||
POWERSAVING_DEBUG_PRINTLN("GPS sleep timeout. Wakeup.");
|
||||
|
||||
|
||||
Reference in new issue
Block a user