committed by
GitHub
parent
6d80144e12
commit
85e26636a3
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
|
||||
namespace tt::lvgl {
|
||||
|
||||
typedef bool (*LvglLock)(uint32_t timeout_ticks);
|
||||
typedef void (*LvglUnlock)();
|
||||
|
||||
void sync_set(LvglLock lock, LvglUnlock unlock);
|
||||
bool lock(uint32_t timeout_ticks);
|
||||
void unlock();
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user