Network, reconnect without waiting

This commit is contained in:
MichaelDvP
2023-09-20 12:16:15 +02:00
parent 4824152ae5
commit ba7ceca798

View File

@@ -103,7 +103,7 @@ void NetworkSettingsService::WiFiEvent(WiFiEvent_t event) {
} }
} }
// wait 3 seconds before reconnecting // wait 3 seconds before reconnecting
if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) { // if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) {
_lastConnectionAttempt = millis(); // _lastConnectionAttempt = millis();
} // }
} }