From aa1dae20768f517154e09319d6c566a390f2d2e5 Mon Sep 17 00:00:00 2001 From: hiruna Date: Sat, 27 May 2023 18:31:34 +1000 Subject: [PATCH] fix rowstart for 128x128 --- lvgl_tft/st7735s.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lvgl_tft/st7735s.h b/lvgl_tft/st7735s.h index 78e1d38..b92a68a 100644 --- a/lvgl_tft/st7735s.h +++ b/lvgl_tft/st7735s.h @@ -41,7 +41,7 @@ extern "C" { // TODO: this should be config option #if CONFIG_LV_HOR_RES_MAX==128 && CONFIG_LV_VER_RES_MAX==128 #define COLSTART 2 -#define ROWSTART 1 +#define ROWSTART 3 #elif CONFIG_LV_HOR_RES_MAX==128 && CONFIG_LV_VER_RES_MAX==80 #define COLSTART 26 #define ROWSTART 1