misc is completly removed
This commit is contained in:
@@ -55,12 +55,12 @@ lv_obj_t * lv_btn_create(lv_obj_t * par, lv_obj_t * copy)
|
||||
lv_obj_t * new_btn;
|
||||
|
||||
new_btn = lv_cont_create(par, copy);
|
||||
dm_assert(new_btn);
|
||||
lv_mem_assert(new_btn);
|
||||
if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_func(new_btn);
|
||||
|
||||
/*Allocate the extended data*/
|
||||
lv_btn_ext_t * ext = lv_obj_allocate_ext_attr(new_btn, sizeof(lv_btn_ext_t));
|
||||
dm_assert(ext);
|
||||
lv_mem_assert(ext);
|
||||
ext->state = LV_BTN_STATE_REL;
|
||||
|
||||
ext->actions[LV_BTN_ACTION_PR] = NULL;
|
||||
|
||||
Reference in New Issue
Block a user