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
25 lines
481 B
C
25 lines
481 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** @return true if LVGL is started and active */
|
|
bool tt_lvgl_is_started();
|
|
|
|
/** Start LVGL and related background services */
|
|
void tt_lvgl_start();
|
|
|
|
/** Stop LVGL and related background services */
|
|
void tt_lvgl_stop();
|
|
|
|
/** Lock the LVGL context. Call this before doing LVGL-related operations from a non-LVLG thread */
|
|
void tt_lvgl_lock();
|
|
|
|
/** Unlock the LVGL context */
|
|
void tt_lvgl_unlock();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|