let the main cpu mostly sleep until we have gps lock

This commit is contained in:
geeksville 2020-02-01 05:39:35 -08:00
parent e890e7a80a
commit b1da652d41

View File

@ -392,6 +392,10 @@ void loop() {
sleep(); sleep();
} }
#endif #endif
// No GPS lock yet, let the OS put the main CPU in low power mode for 100ms (or until another interrupt comes in)
// i.e. don't just keep spinning in loop as fast as we can.
delay(100);
} }
} }
} }