Updated icons, buttons, and display; issues still with Main Room button, and sliders.
This commit is contained in:
1 parent
b5d6b4a897
commit
45998b6176
15 files changed
+973
-77
No files matched your search
+16
@@ -167,6 +167,22 @@ static void ha_task(void *arg)
|
||||
|
||||
lvgl_port_resume();
|
||||
|
||||
/*
|
||||
* Repaint everything after every fetch window.
|
||||
*
|
||||
* The known left-edge artefacts (see README) happen when WiFi
|
||||
* interrupt load starves the bounce-refill ISR, and once bad pixels
|
||||
* are on screen LVGL has no idea they are wrong -- it never
|
||||
* reinvalidates them, so they sit there indefinitely. A full
|
||||
* invalidate after each poll bounds their lifetime at one poll
|
||||
* interval. Mitigation, not cure: it cannot prevent the glitch,
|
||||
* only clean up after it.
|
||||
*/
|
||||
if (lvgl_port_lock(100)) {
|
||||
lv_obj_invalidate(lv_screen_active());
|
||||
lvgl_port_unlock();
|
||||
}
|
||||
|
||||
poll_count++;
|
||||
|
||||
if (err == ESP_OK || on_fallback) {
|
||||
|
||||
Reference in new issue
Block a user