[WiFi] Add delay to connection attempts in ControllerSettings

As suggested by @s0170071 [here](https://github.com/letscontrolit/ESPEasy/issues/1774#issuecomment-425038026)
This commit is contained in:
TD-er
2018-10-06 00:50:43 +02:00
parent da01c8f469
commit 6aebeba5dc
+1
View File
@@ -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()) {