Fixes and improvements: LVGL, services and kernel symbols (#587)

This commit is contained in:
Ken Van Hoeylandt
2026-07-26 13:21:13 +02:00
committed by GitHub
parent d4ef83e316
commit cd2d9d6158
12 changed files with 108 additions and 41 deletions
+12 -1
View File
@@ -178,10 +178,21 @@ void GuiService::redraw() {
return;
}
while (!lvgl_try_lock(1000)) {
bool lvgl_locked = false;
while (lvgl_is_running() && !(lvgl_locked = lvgl_try_lock(1000))) {
LOG_W(TAG, LOG_MESSAGE_MUTEX_LOCK_FAILED_FMT, "GuiService LVGL");
}
if (!lvgl_locked) {
unlock();
return;
}
if (!lvgl_is_running()) {
lvgl_unlock();
unlock();
return;
}
lv_obj_clean(appRootWidget);
if (appToRender != nullptr) {