feat(architecture): enforce lifecycle orchestration and layered component boundaries
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
static const char *TAG = "app_main";
|
||||
|
||||
void app_main(void) {
|
||||
ESP_ERROR_CHECK(controller_lifecycle_start());
|
||||
esp_err_t rc = controller_lifecycle_start();
|
||||
if (rc != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Controller lifecycle start failed: %s", esp_err_to_name(rc));
|
||||
return;
|
||||
}
|
||||
|
||||
ESP_LOGI(TAG, "TQ controller started");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user