v1.3.8 RC

This commit is contained in:
Klaus K Wilting 2018-06-10 16:04:13 +02:00
parent e30e133bf1
commit 3f8820a8dc

View File

@ -629,8 +629,11 @@ void loop() {
reset_salt(); // get new salt for salting hashes
}
if ( (uptime() % 10000) == 0 )
ESP_LOGD(TAG, "GPS NMEA data: passed %d / failed: %d / with fix: %d", gps.passedChecksum(), gps.failedChecksum(), gps.sentencesWithFix());
#ifdef HAS_GPS
// log NMEA status every 30 seconds, useful for debugging GPS connection
if ( (uptime() % 30000) == 0 )
ESP_LOGD(TAG, "GPS NMEA data: passed %d / failed: %d / with fix: %d", gps.passedChecksum(), gps.failedChecksum(), gps.sentencesWithFix());
#endif
vTaskDelay(1/portTICK_PERIOD_MS); // reset watchdog