1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

lv_img: add log

This commit is contained in:
Gabor Kiss-Vamosi 2018-09-21 10:32:23 +02:00
parent 92acc6d991
commit 60231ca8d9

View File

@ -279,6 +279,7 @@ static bool lv_img_design(lv_obj_t * img, const lv_area_t * mask, lv_design_mode
lv_draw_label(&coords, mask, style, opa_scale, ext->src, LV_TXT_FLAG_NONE, NULL);
} else {
/*Trigger the error handler of image drawer*/
LV_LOG_WARN("Image source type is unknown in lv_img_design");
lv_draw_img(&img->coords, mask, NULL, style, opa_scale);
}
}