Browse Source

Update from 2.0.x

Fix lvgl mem size
MKS_UI
Sergey 3 years ago
parent
commit
8329d49b54
  1. 2
      Marlin/src/lcd/extui/mks_ui/tft_lvgl_configuration.cpp

2
Marlin/src/lcd/extui/mks_ui/tft_lvgl_configuration.cpp

@ -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

Loading…
Cancel
Save