Update from 2.0.x

Fix lvgl mem size
This commit is contained in:
Sergey
2021-12-22 12:30:51 +03:00
parent a9641c6400
commit 8329d49b54

View File

@@ -147,7 +147,7 @@ void tft_lvgl_init() {
lv_init();
lv_disp_buf_init(&disp_buf, bmp_public_buf, nullptr, LV_HOR_RES_MAX * 14); // Initialize the display buffer
lv_disp_buf_init(&disp_buf, bmp_public_buf, nullptr, (BUF_SIZE_KB*1024)/2); // Initialize the display buffer
lv_disp_drv_t disp_drv; // Descriptor of a display driver
lv_disp_drv_init(&disp_drv); // Basic initialization