mirror of
https://github.com/scottchiefbaker/ESP-WebOTA.git
synced 2024-08-30 18:12:33 +00:00
Call the Arduino delay() not WebOTA.delay()
This was resulting in a recursive loop forever
This commit is contained in:
parent
1e24251cfd
commit
cf6f1de11b
@ -207,7 +207,7 @@ void WebOTA::delay(int ms) {
|
|||||||
|
|
||||||
while ((millis() - last) < ms) {
|
while ((millis() - last) < ms) {
|
||||||
OTAServer.handleClient();
|
OTAServer.handleClient();
|
||||||
delay(5);
|
::delay(5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user