always set time from GPS if we can

This commit is contained in:
geeksville 2020-04-04 19:16:30 -07:00
parent 07a8972aea
commit 63e1a3f47e

View File

@ -6,8 +6,7 @@
HardwareSerial _serial_gps(GPS_SERIAL_NUM); 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 bool timeSetFromGPS; // We try to set our time from GPS each time we wake from sleep
// (even across sleeps)
GPS gps; GPS gps;