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:
committed by
GitHub
parent
a2f0399c9f
commit
7a7b31e426
+1
-10
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user