mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Merge branch 'dev-7.0' of https://github.com/littlevgl/lvgl into dev-7.0
This commit is contained in:
commit
97adb25879
@ -63,6 +63,7 @@ bool lv_debug_check_obj_type(const lv_obj_t * obj, const char * obj_type)
|
|||||||
|
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
for(i = 0; i < LV_MAX_ANCESTOR_NUM; i++) {
|
for(i = 0; i < LV_MAX_ANCESTOR_NUM; i++) {
|
||||||
|
if(types.type[i] == NULL) break;
|
||||||
if(strcmp(types.type[i], obj_type) == 0) return true;
|
if(strcmp(types.type[i], obj_type) == 0) return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user