C++ conversion (#80)

Converted project to C++
This commit is contained in:
Ken Van Hoeylandt
2024-11-22 20:26:08 +01:00
committed by GitHub
parent 6d80144e12
commit 85e26636a3
488 changed files with 6017 additions and 39466 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "lvgl_i.h"
#include "display_i.h"
#include "touch_i.h"
#include "Ui/LvglSync.h"
bool ws3t_init_lvgl() {
tt::lvgl::sync_set(&ws3t_display_lock, &ws3t_display_unlock);
lv_display_t* display = ws3t_display_create();
if (display == nullptr) {
return false;
}
ws3t_touch_init(display);
return true;
}