From ae62146df3fdc5ff25de8372da30c413ea59656a Mon Sep 17 00:00:00 2001 From: hiruna Date: Fri, 26 May 2023 22:18:11 +1000 Subject: [PATCH] Backward compatibility for LV_HOR_RES_MAX & LV_VER_RES_MAX --- lvgl_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lvgl_helpers.h b/lvgl_helpers.h index 6bd01b0..0e427d7 100644 --- a/lvgl_helpers.h +++ b/lvgl_helpers.h @@ -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.