added delay for wifi stability on ESP8266 clones

This commit is contained in:
Paul
2019-11-08 09:46:55 +01:00
parent 804ed62d67
commit f8e3261033
2 changed files with 9 additions and 1 deletions

View File

@@ -3129,6 +3129,10 @@ void MyESP::loop() {
ESP.restart();
}
if (MYESP_DELAY) {
delay(MYESP_DELAY); // some time to WiFi and everything else to catch up, and prevent overheating
}
yield(); // ... and breath.
}