mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Fix screen refresh during long updates
This commit is contained in:
parent
c38b75dd1a
commit
df09d8ae5c
@ -272,7 +272,7 @@ void haspProgressVal(uint8_t val)
|
|||||||
}
|
}
|
||||||
lv_bar_set_value(bar, val, LV_ANIM_OFF);
|
lv_bar_set_value(bar, val, LV_ANIM_OFF);
|
||||||
}
|
}
|
||||||
// lv_task_handler(); /* let the GUI do its work */
|
lv_task_handler(); // needed to let the GUI do its work during long updates
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ void haspProgressMsg(const char* msg)
|
|||||||
hasp_process_obj_attribute(bar, value_str, msg, true);
|
hasp_process_obj_attribute(bar, value_str, msg, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// lv_task_handler(); /* let the GUI do its work */
|
lv_task_handler(); // needed to let the GUI do its work during long updates
|
||||||
|
|
||||||
/* if(bar) {
|
/* if(bar) {
|
||||||
progress_str.reserve(64);
|
progress_str.reserve(64);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user