mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-20 04:01:14 +00:00
always set time from GPS if we can
This commit is contained in:
parent
07a8972aea
commit
63e1a3f47e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user