fix build on devices without gps

This commit is contained in:
Florian Ludwig 2018-06-10 13:24:56 +02:00
parent 1850f94f71
commit 3321931a46

View File

@ -629,8 +629,10 @@ void loop() {
reset_salt(); // get new salt for salting hashes
}
#ifdef HAS_GPS
if ( (uptime() % 10000) == 0 )
ESP_LOGI(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