mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Fix startup page=0 bug
This commit is contained in:
parent
15b33e57b4
commit
ac7e0d6c8d
@ -20,7 +20,8 @@ static void my_scr_load_anim_start(lv_anim_t* a)
|
||||
lv_disp_load_scr(page);
|
||||
if(hasp_find_id_from_obj(page, &pageid, &objid)) {
|
||||
LOG_TRACE(TAG_HASP, F(D_HASP_CHANGE_PAGE), pageid);
|
||||
dispatch_current_page();
|
||||
haspPages.set(pageid, LV_SCR_LOAD_ANIM_NONE, 0, 0);
|
||||
|
||||
#if defined(HASP_DEBUG_OBJ_TREE)
|
||||
hasp_object_tree(page, pageid, 0);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user