main.cpp: bugfix NEMA logging
This commit is contained in:
parent
858eac8d37
commit
945ce1694d
@ -676,7 +676,7 @@ void loop() {
|
|||||||
|
|
||||||
#ifdef HAS_GPS
|
#ifdef HAS_GPS
|
||||||
// log NMEA status every 30 seconds, useful for debugging GPS connection
|
// log NMEA status every 30 seconds, useful for debugging GPS connection
|
||||||
if (uptimecounter %30 == 0)
|
if ((uptime() % 30000) == 0)
|
||||||
ESP_LOGI(TAG, "GPS NMEA data: passed %d / failed: %d / with fix: %d",
|
ESP_LOGI(TAG, "GPS NMEA data: passed %d / failed: %d / with fix: %d",
|
||||||
gps.passedChecksum(), gps.failedChecksum(),
|
gps.passedChecksum(), gps.failedChecksum(),
|
||||||
gps.sentencesWithFix());
|
gps.sentencesWithFix());
|
||||||
|
Loading…
Reference in New Issue
Block a user