mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
imgbtn: avoid warning during creation
This commit is contained in:
parent
559709e69f
commit
d75ea5f482
@ -414,6 +414,7 @@ static void refr_img(lv_obj_t * imgbtn)
|
||||
lv_img_header_t header;
|
||||
|
||||
const void * src = ext->img_src_mid[state];
|
||||
if(src == NULL) return;
|
||||
|
||||
lv_res_t info_res = LV_RES_OK;
|
||||
if(lv_img_src_get_type(src) == LV_IMG_SRC_SYMBOL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user