From 278428850651caa119ce842c1e5fb5de35b28727 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 24 Jul 2023 15:21:50 +0200 Subject: [PATCH] boards/esp32s2-lilygo-ttgo-t8: use ST77xx rotation in degree --- boards/esp32s2-lilygo-ttgo-t8/include/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/esp32s2-lilygo-ttgo-t8/include/board.h b/boards/esp32s2-lilygo-ttgo-t8/include/board.h index c26425fce6..de7455f1d4 100644 --- a/boards/esp32s2-lilygo-ttgo-t8/include/board.h +++ b/boards/esp32s2-lilygo-ttgo-t8/include/board.h @@ -99,7 +99,7 @@ #define ST77XX_PARAM_INVERTED 1 /**< Inverted mode enable */ #define ST77XX_PARAM_NUM_LINES 240U /**< Number of lines */ #define ST77XX_PARAM_RGB_CHANNELS 135U /**< Number of columns */ -#define ST77XX_PARAM_ROTATION ST77XX_ROTATION_HORZ /**< Rotation */ +#define ST77XX_PARAM_ROTATION ST77XX_ROTATION_270 /**< Rotation */ #define ST77XX_PARAM_OFFSET_X 40 /**< X offset */ #define ST77XX_PARAM_OFFSET_Y 52 /**< Y offset */ #endif