mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
### TactilityC - Create UART HAL - Refactor locking APIs - Bind new C++ functionality - Bind new LVGL functionality ### Apps - Remove Serial Console as it has been ported as an external app
27 lines
421 B
C++
27 lines
421 B
C++
#include <tt_kernel.h>
|
|
#include <Tactility/lvgl/Lvgl.h>
|
|
#include <Tactility/lvgl/LvglSync.h>
|
|
|
|
extern "C" {
|
|
|
|
bool tt_lvgl_is_started() {
|
|
return tt::lvgl::isStarted();
|
|
}
|
|
|
|
void tt_lvgl_start() {
|
|
tt::lvgl::start();
|
|
}
|
|
|
|
void tt_lvgl_stop() {
|
|
tt::lvgl::stop();
|
|
}
|
|
|
|
void tt_lvgl_lock(TickType timeout) {
|
|
tt::lvgl::getSyncLock()->lock(timeout);
|
|
}
|
|
|
|
void tt_lvgl_unlock() {
|
|
tt::lvgl::getSyncLock()->unlock();
|
|
}
|
|
|
|
} |