* initial changes for waveshare s3 touch support * fix lvgl locking * fix for lvgl locking * cleaned up dependencies * boards now depend on tactility instead of tactility-esp * revert deletion * remove component * working touch&display driver * added waveshare to github actions * cleanup * fix for driver * fix for sim build * build fixes * updated docs * updated docs * attempt new sdl2 github action * revert * fixes for clion/cmdline build environment wasn't parsed properly * temporarily disable pc sim build
21 lines
348 B
C
21 lines
348 B
C
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef bool (*LvglLock)(uint32_t timeout_ticks);
|
|
typedef void (*LvglUnlock)();
|
|
|
|
void tt_lvgl_sync_set(LvglLock lock, LvglUnlock unlock);
|
|
bool tt_lvgl_lock(uint32_t timeout_ticks);
|
|
void tt_lvgl_unlock();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|