From 6aebeba5dcb0cfc96bcbc308ba7df326dd32ddef Mon Sep 17 00:00:00 2001 From: TD-er Date: Sat, 6 Oct 2018 00:50:43 +0200 Subject: [PATCH] [WiFi] Add delay to connection attempts in ControllerSettings As suggested by @s0170071 [here](https://github.com/letscontrolit/ESPEasy/issues/1774#issuecomment-425038026) --- src/ESPEasy-Globals.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ESPEasy-Globals.h b/src/ESPEasy-Globals.h index 6c9374394..78108751d 100644 --- a/src/ESPEasy-Globals.h +++ b/src/ESPEasy-Globals.h @@ -957,6 +957,7 @@ struct ControllerSettingsStruct if (!WiFiConnected(10)) { return false; // Not connected, so no use in wasting time to connect to a host. } + delay(1); // Make sure the Watchdog will not trigger a reset. if (quick && ipSet()) return true; if (UseDNS) { if (!updateIPcache()) {