gpsread.cpp: nmea serial delay compensation fix
This commit is contained in:
1 parent
1117dc5520
commit
44cf2ece16
1 file changed
+1
-2
+1
-2
@@ -79,13 +79,12 @@ void IRAM_ATTR gps_storetime(gpsStatus_t &gps_store) {
|
||||
|
||||
if (gps.time.isUpdated() && gps.date.isValid() && (gps.time.age() < 1000)) {
|
||||
|
||||
/* nmea telegram serial delay compensation; not sure if we need this?
|
||||
// nmea telegram serial delay compensation; not sure if we need this?
|
||||
|
||||
if (gps.time.age() > nmea_txDelay_ms)
|
||||
gps_store.timedate.Second = gps.time.second() + 1;
|
||||
else
|
||||
gps_store.timedate.Second = gps.time.second();
|
||||
*/
|
||||
|
||||
gps_store.timedate.Second = gps.time.second();
|
||||
gps_store.timedate.Minute = gps.time.minute();
|
||||
|
||||
Reference in new issue
Block a user