mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59: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
|
// wait 3 seconds before reconnecting
|
||||||
if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) {
|
// if (event == ARDUINO_EVENT_WIFI_STA_DISCONNECTED) {
|
||||||
_lastConnectionAttempt = millis();
|
// _lastConnectionAttempt = millis();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user