fix typo in constant name (LV_IMG_CF_UNK*N*OWN)

This commit is contained in:
manison
2019-03-05 14:21:13 +01:00
parent 2b4185ec23
commit b30ca0da76
4 changed files with 8 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ lv_obj_t * lv_img_create(lv_obj_t * par, const lv_obj_t * copy)
ext->src = NULL;
ext->src_type = LV_IMG_SRC_UNKNOWN;
ext->cf = LV_IMG_CF_UNKOWN;
ext->cf = LV_IMG_CF_UNKNOWN;
ext->w = lv_obj_get_width(new_img);
ext->h = lv_obj_get_height(new_img);
ext->auto_size = 1;

View File

@@ -69,7 +69,7 @@ lv_obj_t * lv_imgbtn_create(lv_obj_t * par, const lv_obj_t * copy)
memset(ext->img_src_right, 0, sizeof(ext->img_src_right));
#endif
ext->act_cf = LV_IMG_CF_UNKOWN;
ext->act_cf = LV_IMG_CF_UNKNOWN;
/*The signal and design functions are not copied so set them here*/
lv_obj_set_signal_func(new_imgbtn, lv_imgbtn_signal);
@@ -382,7 +382,7 @@ static void refr_img(lv_obj_t * imgbtn)
lv_obj_set_height(imgbtn, header.h);
#endif
} else {
ext->act_cf = LV_IMG_CF_UNKOWN;
ext->act_cf = LV_IMG_CF_UNKNOWN;
}
lv_obj_invalidate(imgbtn);