mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
there is a tight loop in improv
This commit is contained in:
@@ -503,7 +503,6 @@ void WiFiComponent::loop() {
|
||||
#ifdef USE_IMPROV
|
||||
if (esp32_improv::global_improv_component != nullptr && !esp32_improv::global_improv_component->is_active()) {
|
||||
if (now - this->last_connected_ > esp32_improv::global_improv_component->get_wifi_timeout()) {
|
||||
ESP_LOGI(TAG, "Starting Improv");
|
||||
if (this->wifi_mode_(true, {}))
|
||||
esp32_improv::global_improv_component->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user