mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
docs(display): use lv_display_delete_refr_timer to delete display timer (#5835)
This commit is contained in:
parent
eace5e1072
commit
0a9d86dd7b
@ -214,9 +214,7 @@ You can do this in the following way:
|
||||
.. code:: c
|
||||
|
||||
/*Delete the original display refresh timer*/
|
||||
lv_timer_delete(disp->refr_timer);
|
||||
disp->refr_timer = NULL;
|
||||
|
||||
lv_display_delete_refr_timer(disp);
|
||||
|
||||
/*Call this anywhere you want to refresh the dirty areas*/
|
||||
_lv_display_refr_timer(NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user