mirror of
https://github.com/esphome/esphome.git
synced 2026-05-27 03:36:19 +08:00
Don't get stuck forever on a failed component can_proceed (#14267)
This commit is contained in:
@@ -132,7 +132,7 @@ void Application::setup() {
|
|||||||
this->after_loop_tasks_();
|
this->after_loop_tasks_();
|
||||||
this->app_state_ = new_app_state;
|
this->app_state_ = new_app_state;
|
||||||
yield();
|
yield();
|
||||||
} while (!component->can_proceed());
|
} while (!component->can_proceed() && !component->is_failed());
|
||||||
}
|
}
|
||||||
|
|
||||||
ESP_LOGI(TAG, "setup() finished successfully!");
|
ESP_LOGI(TAG, "setup() finished successfully!");
|
||||||
|
|||||||
Reference in New Issue
Block a user