Skip to content

Commit

Permalink
[WiFi] Increase delay after turning on WiFi
Browse files Browse the repository at this point in the history
See also letscontrolit#2886
This does make sure the initial network connection can transfer data.
On some nodes it took a lot of attempts to get a connection established right after boot.
  • Loading branch information
TD-er committed Feb 17, 2020
1 parent 473d832 commit da5c152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ESPEasyWifi.ino
Expand Up @@ -470,7 +470,7 @@ void setWifiMode(WiFiMode_t wifimode) {
#endif // ifdef ESP8266
delay(1);
} else {
delay(30); // Must allow for some time to init.
delay(100); // Must allow for some time to init.
}
bool new_mode_AP_enabled = WifiIsAP(wifimode);

Expand Down

0 comments on commit da5c152

Please sign in to comment.