Updates for removal of deprecated HAL (#37)

Update all apps to replace deprecated LVGL code and to use the new kernel APIs.
This commit is contained in:
Ken Van Hoeylandt
2026-07-26 12:47:03 +02:00
committed by GitHub
parent 25b966a340
commit 4f635d38e3
45 changed files with 200 additions and 257 deletions
@@ -1,19 +1,20 @@
#pragma once
#include <Tactility/Lock.h>
#include <tt_lvgl.h>
#include <lvgl/lvgl.h>
class LvglLock final : public tt::Lock {
public:
bool lock(TickType_t timeout = tt::kernel::MAX_TICKS) const override {
return tt_lvgl_lock(timeout);
using tt::Lock::lock;
bool lock(TickType_t timeout) const override {
return lvgl_try_lock(timeout);
}
void unlock() const override {
tt_lvgl_unlock();
lvgl_unlock();
}
};