samples: lvgl: write initial content before blanking_off
Write initial content of the display before blanking_off. This allow faster update of the electronic ink displays as the controller do not update the pannel when the banking is enabled (currently this behaviour is only implemented in gd7965 driver). Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
aa17850455
commit
cf6fd8482b
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ void main(void)
|
|||
count_label = lv_label_create(lv_scr_act(), NULL);
|
||||
lv_obj_align(count_label, NULL, LV_ALIGN_IN_BOTTOM_MID, 0, 0);
|
||||
|
||||
lv_task_handler();
|
||||
display_blanking_off(display_dev);
|
||||
|
||||
while (1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue