mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
Network, reconnect without waiting
This commit is contained in:
@@ -103,7 +103,7 @@ void NetworkSettingsService::WiFiEvent(WiFiEvent_t event) {
|
||||
}
|
||||
}
|
||||
// wait 3 seconds before reconnecting
|
||||
if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) {
|
||||
_lastConnectionAttempt = millis();
|
||||
}
|
||||
// if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) {
|
||||
// _lastConnectionAttempt = millis();
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user