mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-20 18: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();
|
if (lvgl_module_config.on_stop) lvgl_module_config.on_stop();
|
||||||
|
|
||||||
task_lock();
|
task_lock();
|
||||||
lvgl_task_handle = nullptr;
|
lvgl_task_handle = NULL;
|
||||||
task_unlock();
|
task_unlock();
|
||||||
|
|
||||||
vTaskDelete(NULL);
|
vTaskDelete(NULL);
|
||||||
@ -129,7 +129,7 @@ error_t lvgl_arch_stop() {
|
|||||||
lvgl_task_set_interrupted(true);
|
lvgl_task_set_interrupted(true);
|
||||||
while (true) {
|
while (true) {
|
||||||
task_lock();
|
task_lock();
|
||||||
bool done = (lvgl_task_handle == nullptr);
|
bool done = (lvgl_task_handle == NULL);
|
||||||
task_unlock();
|
task_unlock();
|
||||||
if (done) break;
|
if (done) break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user