From cf8ec8053877c4e3f98fa8bd5a6e47df3f602482 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Fri, 25 Aug 2023 16:22:00 -0500 Subject: [PATCH] Fix timeout preventing https update --- main/main.ino | 1 - 1 file changed, 1 deletion(-) diff --git a/main/main.ino b/main/main.ino index cb419030..e5f59a1a 100644 --- a/main/main.ino +++ b/main/main.ino @@ -2438,7 +2438,6 @@ String latestVersion; bool checkForUpdates() { Log.notice(F("Update check, free heap: %d"), ESP.getFreeHeap()); HTTPClient http; - http.setTimeout(GeneralTimeOut - 1); // -1 to avoid WDT http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS); http.begin(OTA_JSON_URL, OTAserver_cert); int httpCode = http.GET();