always set time from GPS if we can

pull/75/head
geeksville 2020-04-04 19:16:30 -07:00
rodzic 07a8972aea
commit 63e1a3f47e
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -6,8 +6,7 @@
HardwareSerial _serial_gps(GPS_SERIAL_NUM);
RTC_DATA_ATTR bool timeSetFromGPS; // We only reset our time once per _boot_ after that point just run from the internal clock
// (even across sleeps)
bool timeSetFromGPS; // We try to set our time from GPS each time we wake from sleep
GPS gps;