diff --git a/src/lv_core/lv_style.h b/src/lv_core/lv_style.h index a4d5b6f8e..3d121a717 100644 --- a/src/lv_core/lv_style.h +++ b/src/lv_core/lv_style.h @@ -264,7 +264,7 @@ static inline lv_anim_user_data_t * lv_style_anim_get_user_data_ptr(lv_anim_t * */ static inline void lv_style_anim_create(lv_anim_t * a) { - return lv_anim_create(a); + lv_anim_create(a); } #endif diff --git a/src/lv_draw/lv_img_decoder.c b/src/lv_draw/lv_img_decoder.c index 6bdb3a733..005320dd9 100644 --- a/src/lv_draw/lv_img_decoder.c +++ b/src/lv_draw/lv_img_decoder.c @@ -425,7 +425,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_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`*/ if(dsc->src_type == LV_IMG_SRC_FILE) { res = lv_img_decoder_built_in_line_true_color(dsc, x, y, len, buf);