minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2019-02-21 00:50:14 +01:00
parent d27dfbd6d7
commit 69456cd3f5

View File

@@ -96,6 +96,9 @@ void lv_port_disp_init(void)
/*Used to copy the buffer's content to the display*/ /*Used to copy the buffer's content to the display*/
disp_drv.flush_cb = disp_flush; disp_drv.flush_cb = disp_flush;
/*Set a display buffer*/
disp_drv.buffer = &disp_buf_2;
#if USE_LV_GPU #if USE_LV_GPU
/*Optionally add functions to access the GPU. (Only in buffered mode, LV_VDB_SIZE != 0)*/ /*Optionally add functions to access the GPU. (Only in buffered mode, LV_VDB_SIZE != 0)*/