From 63e1a3f47edc1251dff51276c73dd693720c0483 Mon Sep 17 00:00:00 2001 From: geeksville Date: Sat, 4 Apr 2020 19:16:30 -0700 Subject: [PATCH] always set time from GPS if we can --- src/GPS.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GPS.cpp b/src/GPS.cpp index 5312d97a5..8ca8dd36b 100644 --- a/src/GPS.cpp +++ b/src/GPS.cpp @@ -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;