mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +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
|
.. code:: c
|
||||||
|
|
||||||
/*Delete the original display refresh timer*/
|
/*Delete the original display refresh timer*/
|
||||||
lv_timer_delete(disp->refr_timer);
|
lv_display_delete_refr_timer(disp);
|
||||||
disp->refr_timer = NULL;
|
|
||||||
|
|
||||||
|
|
||||||
/*Call this anywhere you want to refresh the dirty areas*/
|
/*Call this anywhere you want to refresh the dirty areas*/
|
||||||
_lv_display_refr_timer(NULL);
|
_lv_display_refr_timer(NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user