Move app/service code from tactility-core to tactility (#14)

* Move app/service code from tactility-core to tactility

* fix formatting

* updated dev docs
This commit is contained in:
Ken Van Hoeylandt
2024-01-20 15:41:01 +01:00
committed by GitHub
parent 0c724e2e68
commit e2209ccba8
34 changed files with 83 additions and 194 deletions
+1 -3
View File
@@ -2,9 +2,7 @@
#include "services/gui/gui.h"
#include "services/loader/loader.h"
static void app_show(App app, lv_obj_t* parent) {
UNUSED(app);
static void app_show(TT_UNUSED App app, lv_obj_t* parent) {
lv_obj_t* label = lv_label_create(parent);
lv_label_set_recolor(label, true);
lv_obj_set_width(label, 200);
+1 -2
View File
@@ -11,7 +11,7 @@ extern const ServiceManifest wifi_service;
extern const AppManifest wifi_connect_app;
extern const AppManifest wifi_manage_app;
__attribute__((unused)) void app_main(void) {
TT_UNUSED void app_main(void) {
static const Config config = {
/**
* Auto-select a board based on the ./sdkconfig.board.* file
@@ -29,7 +29,6 @@ __attribute__((unused)) void app_main(void) {
.auto_start_app_id = NULL
};
tt_core_init();
tt_esp_init(&config);
tt_init(&config.apps, CONFIG_APPS_LIMIT, &config.services, CONFIG_SERVICES_LIMIT);