mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-08-18 18:32:30 +02:00
Add backoff in PageNavigation for better handling with bad connection
This commit is contained in:
@@ -230,7 +230,7 @@ bool NetworkClient::httpGetGzip(const String& url, uint8_t*& outData, size_t& ou
|
||||
}
|
||||
|
||||
if (millis() - lastData > READ_TIMEOUT) {
|
||||
if (DEBUGING) {Serial.println("TIMEOUT waiting for data!");}
|
||||
Serial.println("TIMEOUT waiting for data!");
|
||||
aborting = true; // NEW: mark abnormal exit
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user