mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 17:35:05 +00:00
Fix
This commit is contained in:
parent
e61023e087
commit
0521462ffc
@ -90,7 +90,7 @@ static void lvgl_task(void* arg) {
|
||||
if (lvgl_module_config.on_stop) lvgl_module_config.on_stop();
|
||||
|
||||
task_lock();
|
||||
lvgl_task_handle = nullptr;
|
||||
lvgl_task_handle = NULL;
|
||||
task_unlock();
|
||||
|
||||
vTaskDelete(NULL);
|
||||
@ -129,7 +129,7 @@ error_t lvgl_arch_stop() {
|
||||
lvgl_task_set_interrupted(true);
|
||||
while (true) {
|
||||
task_lock();
|
||||
bool done = (lvgl_task_handle == nullptr);
|
||||
bool done = (lvgl_task_handle == NULL);
|
||||
task_unlock();
|
||||
if (done) break;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user