Searched refs:was_default (Results 1 – 1 of 1) sorted by relevance
293 bool was_default = false; in lv_disp_remove() local294 if(disp == lv_disp_get_default()) was_default = true; in lv_disp_remove()325 if(was_default) lv_disp_set_default(_lv_ll_get_head(&LV_GC_ROOT(_lv_disp_ll))); in lv_disp_remove()