chore(repo): keep only current main snapshot
History squashed to one root commit to permanently drop old branch history and objects.
This commit is contained in:
0
components/app_composition/src/.gitkeep
Normal file
0
components/app_composition/src/.gitkeep
Normal file
21
components/app_composition/src/app_main.c
Normal file
21
components/app_composition/src/app_main.c
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "app_composition.h"
|
||||
#include "control_plane.h"
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "app_main";
|
||||
|
||||
esp_err_t app_composition_start(void) {
|
||||
return controller_lifecycle_start();
|
||||
}
|
||||
|
||||
void app_main(void) {
|
||||
esp_err_t rc = app_composition_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