Backward compatibility for LV_HOR_RES_MAX & LV_VER_RES_MAX

This commit is contained in:
hiruna 2023-05-26 22:18:11 +10:00
parent 1ed680bff6
commit ae62146df3

View file

@ -22,6 +22,7 @@ extern "C" {
/*********************
* 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
@ -29,6 +30,7 @@ extern "C" {
#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
* 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.