image alarm

This commit is contained in:
Mikkeli Matlock
2026-02-15 21:46:18 +09:00
parent 7eb05ea983
commit 33936650c6
9 changed files with 144 additions and 15 deletions

View File

@@ -211,6 +211,14 @@ static void sensor_task(void *arg)
Lvgl_unlock();
}
/* Poll for status image updates */
bool img_updated = false;
const lv_img_dsc_t *img = audio_client_get_status_image(&img_updated);
if (img_updated && Lvgl_lock(100)) {
dashboard_ui_update_status_image(img);
Lvgl_unlock();
}
vTaskDelay(pdMS_TO_TICKS(1000));
}
}