Rendering correctly in full screen and small updates

This commit is contained in:
Martin Fasani 2021-06-15 10:59:32 +02:00
parent 588b14f029
commit 4650001bde
3 changed files with 6 additions and 24 deletions

View file

@ -42,9 +42,9 @@ extern "C" {
#define DISP_BUF_SIZE (LV_HOR_RES_MAX * 40)
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ST7796S
#define DISP_BUF_SIZE (LV_HOR_RES_MAX * LV_VER_RES_MAX/3)
// Here is the issue that it does not draw full epaper. Insufficient buffer:
// IMPORTANT: This will render the screen in 10 times:
#elif defined (CONFIG_LV_EPAPER_EPDIY_DISPLAY_CONTROLLER)
#define DISP_BUF_SIZE (LV_HOR_RES_MAX * 38)
#define DISP_BUF_SIZE LV_HOR_RES_MAX*(LV_VER_RES_MAX/10)
#elif defined (CONFIG_LV_EPAPER_CALEPD_DISPLAY_CONTROLLER)
#define DISP_BUF_SIZE (LV_HOR_RES_MAX * 90)