Various improvements (#21)

* T-Deck stability and naming improvements

* allow main task to clean itself up

* remove unused includes

* various lvgl improvements

* added docs
This commit is contained in:
Ken Van Hoeylandt
2024-01-27 23:13:17 +01:00
committed by GitHub
parent a2f0399c9f
commit 7a7b31e426
17 changed files with 146 additions and 138 deletions
+1 -10
View File
@@ -1,16 +1,13 @@
#include "hello_world/hello_world.h"
#include "lvgl_hal.h"
#include "tactility.h"
#include "ui/lvgl_sync.h"
#include "FreeRTOS.h"
#include "task.h"
#define TAG "main"
extern HardwareConfig sim_hardware;
_Noreturn void app_main() {
void app_main() {
static const Config config = {
.hardware = &sim_hardware,
.apps = {
@@ -20,11 +17,5 @@ _Noreturn void app_main() {
.auto_start_app_id = NULL
};
TT_LOG_I("app", "Hello, world!");
tt_init(&config);
while (true) {
vTaskDelay(1000);
}
}