mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
## TactilityC - Add `tt_lvgl_lock()` and `tt_lvgl_unlock()` - Add `tt_thread_set_affinity()` - Add support for STL symbols ## Other - Add `Thread::setAffinity()` - `GuiService`: replace `#define` with `constexpr` - Remove log storage and log app for now - Split up ELF symbols into more groups
26 lines
375 B
C++
26 lines
375 B
C++
#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() {
|
|
tt::lvgl::getSyncLock()->lock();
|
|
}
|
|
|
|
void tt_lvgl_unlock() {
|
|
tt::lvgl::getSyncLock()->unlock();
|
|
}
|
|
|
|
} |