mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
added delay for wifi stability on ESP8266 clones
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user