mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-17 23:55:04 +00:00
Fixes for builds
This commit is contained in:
parent
f086465294
commit
311c3325ff
@ -11,6 +11,7 @@
|
||||
#include <tactility/bindings/esp32_sdspi.h>
|
||||
#include <tactility/bindings/esp32_pwm_ledc.h>
|
||||
#include <tactility/bindings/pwm_backlight.h>
|
||||
#include <gps_generic/bindings.h>
|
||||
#include <bindings/st7796.h>
|
||||
#include <bindings/bq27220.h>
|
||||
#include <bindings/tca8418.h>
|
||||
|
||||
@ -39,10 +39,9 @@ static void task_unlock(void) {
|
||||
recursive_mutex_unlock(&task_mutex);
|
||||
}
|
||||
|
||||
bool lvgl_lock(void) {
|
||||
if (!lvgl_mutex_initialised) return false;
|
||||
void lvgl_lock(void) {
|
||||
if (!lvgl_mutex_initialised) return;
|
||||
recursive_mutex_lock(&lvgl_mutex);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool lvgl_try_lock(uint32_t timeout) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user