1
0
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:
norbert-walter
2026-02-20 17:21:26 +01:00
parent c647c2fe44
commit 2de3a1b084
3 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -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;
}