fix typo in constant name (LV_IMG_CF_UNK*N*OWN)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user