From cf6f1de11b2f40390445869c3f65fff65dd59e6f Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Tue, 19 Mar 2019 09:17:44 -0700 Subject: [PATCH] Call the Arduino delay() not WebOTA.delay() This was resulting in a recursive loop forever --- src/WebOTA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebOTA.cpp b/src/WebOTA.cpp index 31493b9..4a8ee2c 100644 --- a/src/WebOTA.cpp +++ b/src/WebOTA.cpp @@ -207,7 +207,7 @@ void WebOTA::delay(int ms) { while ((millis() - last) < ms) { OTAServer.handleClient(); - delay(5); + ::delay(5); } }