[200~Backward compatibility for LV_HOR_RES_MAX & LV_VER_RES_MAX

This commit is contained in:
hiruna 2023-05-26 22:17:50 +10:00
parent 26fe6e7703
commit 1ed680bff6

View file

@ -22,7 +22,13 @@ extern "C" {
/********************* /*********************
* DEFINES * DEFINES
*********************/ *********************/
/* Backward compatibility for LV_HOR_RES_MAX & LV_VER_RES_MAX */
#if defined (CONFIG_LV_HOR_RES_MAX)
#define LV_HOR_RES_MAX CONFIG_LV_HOR_RES_MAX
#endif
#if defined (CONFIG_LV_VER_RES_MAX)
#define LV_VER_RES_MAX CONFIG_LV_VER_RES_MAX
#endif
/* DISP_BUF_SIZE value doesn't have an special meaning, but it's the size /* DISP_BUF_SIZE value doesn't have an special meaning, but it's the size
* of the buffer(s) passed to LVGL as display buffers. The default values used * of the buffer(s) passed to LVGL as display buffers. The default values used
* were the values working for the contributor of the display controller. * were the values working for the contributor of the display controller.