1
0
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:
J. Nick Koston
2025-11-18 09:32:50 -06:00
parent 17b72061ad
commit eaaaeecc92

View File

@@ -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();
}