[WIFI] Increase delay between first wifi connection attempt (#1446)

This improves the chances of reconnection with this mode (before doing it with the wifi manager part)
This commit is contained in:
Florian authored and GitHub committed 2023-02-09 16:19:12 -06:00
1 parent 1b0778dc0a
commit 799d8e2e85
1 file changed
+1 -1
+1 -1
View File
@@ -936,7 +936,7 @@ bool wifi_reconnect_bypass() {
# endif
Log.notice(F("Attempting Wifi connection with saved AP: %d" CR), wifi_autoreconnect_cnt);
WiFi.begin();
delay(500);
delay(1000);
wifi_autoreconnect_cnt++;
}
if (wifi_autoreconnect_cnt < maxConnectionRetryWifi) {