From 69456cd3f5b81f287ae8b5ac081ffa8b54d551f8 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 21 Feb 2019 00:50:14 +0100 Subject: [PATCH] minor fixes --- lv_porting/lv_port_disp_templ.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lv_porting/lv_port_disp_templ.c b/lv_porting/lv_port_disp_templ.c index c2d819027..bcd251a8a 100644 --- a/lv_porting/lv_port_disp_templ.c +++ b/lv_porting/lv_port_disp_templ.c @@ -96,6 +96,9 @@ void lv_port_disp_init(void) /*Used to copy the buffer's content to the display*/ disp_drv.flush_cb = disp_flush; + /*Set a display buffer*/ + disp_drv.buffer = &disp_buf_2; + #if USE_LV_GPU /*Optionally add functions to access the GPU. (Only in buffered mode, LV_VDB_SIZE != 0)*/