fix(dave2d): fix evaluate callback (#8253)

Signed-off-by: Felipe Neves <felipe@lvgl.io>
This commit is contained in:
Felipe Neves
2025-05-15 23:58:01 +02:00
committed by GitHub
parent c23ee47f7a
commit aa86d762c0
+2 -1
View File
@@ -251,7 +251,8 @@ static int32_t _dave2d_evaluate(lv_draw_unit_t * u, lv_draw_task_t * t)
case LV_DRAW_TASK_TYPE_IMAGE: {
lv_draw_image_dsc_t * dsc = t->draw_dsc;
if((dsc->header.cf >= LV_COLOR_FORMAT_PROPRIETARY_START) || (dsc->header.cf == LV_COLOR_FORMAT_RGB888)) {
if((dsc->header.cf >= LV_COLOR_FORMAT_PROPRIETARY_START) || (dsc->header.cf == LV_COLOR_FORMAT_RGB888) ||
(dsc->header.cf == LV_COLOR_FORMAT_RGB565A8)) {
ret = 0;
break;
}