mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 09:38:42 +00:00
Merge branch 'wifi_fail_too_quickly_fix' into wifi_timeout
This commit is contained in:
@@ -1200,7 +1200,8 @@ void WiFiComponent::check_connecting_finished() {
|
||||
|
||||
uint32_t now = millis();
|
||||
if (now - this->action_started_ > WIFI_CONNECT_TIMEOUT_MS) {
|
||||
ESP_LOGW(TAG, "Connection timeout");
|
||||
ESP_LOGW(TAG, "Connection timeout, aborting connection attempt");
|
||||
this->wifi_disconnect_();
|
||||
this->retry_connect();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user