1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00
This commit is contained in:
Gabor Kiss-Vamosi 2019-05-20 12:11:59 +02:00
parent 1ef0c197cd
commit 45a29c1b88

View File

@ -421,7 +421,7 @@ static lv_res_t lv_img_decoder_built_in_read_line(lv_img_decoder_t * decoder, l
dsc->header.cf == LV_IMG_CF_TRUE_COLOR_ALPHA || dsc->header.cf == LV_IMG_CF_TRUE_COLOR_ALPHA ||
dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED) dsc->header.cf == LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED)
{ {
/* For TRUE_COLOE images read line required only for files. /* For TRUE_COLOR images read line required only for files.
* For variables the image data was returned in `open`*/ * For variables the image data was returned in `open`*/
if(dsc->src_type == LV_IMG_SRC_FILE) { if(dsc->src_type == LV_IMG_SRC_FILE) {
res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf); res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf);