Don't get stuck forever on a failed component can_proceed (#14267)
This commit is contained in:
1 file changed
+1
-1
@@ -132,7 +132,7 @@ void Application::setup() {
|
||||
this->after_loop_tasks_();
|
||||
this->app_state_ = new_app_state;
|
||||
yield();
|
||||
} while (!component->can_proceed());
|
||||
} while (!component->can_proceed() && !component->is_failed());
|
||||
}
|
||||
|
||||
ESP_LOGI(TAG, "setup() finished successfully!");
|
||||
|
||||
Reference in new issue
Block a user