mirror of
https://github.com/lvgl/lvgl.git
synced 2026-03-23 14:03:13 +08:00
docs(readme): add missing lv_display_flush_ready call to example (#9767)
This commit is contained in:
@@ -148,6 +148,9 @@ static void my_flush_cb(lv_display_t * disp, const lv_area_t * area, uint8_t * p
|
|||||||
{
|
{
|
||||||
/*Write px_map to the area->x1, area->x2, area->y1, area->y2 area of the
|
/*Write px_map to the area->x1, area->x2, area->y1, area->y2 area of the
|
||||||
*frame buffer or external display controller. */
|
*frame buffer or external display controller. */
|
||||||
|
|
||||||
|
/* signal LVGL that we're done */
|
||||||
|
lv_display_flush_ready(disp);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void my_touch_read_cb(lv_indev_t * indev, lv_indev_data_t * data)
|
static void my_touch_read_cb(lv_indev_t * indev, lv_indev_data_t * data)
|
||||||
|
|||||||
Reference in New Issue
Block a user