From 1f41d19c89563e74a55f14387a31cacdfb3e94f2 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 24 Jul 2023 15:21:24 +0200 Subject: [PATCH] boards/adafruit-pybadge: use ST77xx rotation in degree --- boards/adafruit-pybadge/include/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/adafruit-pybadge/include/board.h b/boards/adafruit-pybadge/include/board.h index ff889e659d..11f7703210 100644 --- a/boards/adafruit-pybadge/include/board.h +++ b/boards/adafruit-pybadge/include/board.h @@ -76,7 +76,7 @@ extern "C" { #define ST77XX_PARAM_RGB_CHANNELS (128U) /**< Number of screen rgb channel (height) */ #define ST77XX_PARAM_RGB (1) /**< RGB configuration */ #define ST77XX_PARAM_INVERTED (0) /**< Inversion configuration */ -#define ST77XX_PARAM_ROTATION (ST77XX_ROTATION_HORZ_FLIP) /**< Rotation mode */ +#define ST77XX_PARAM_ROTATION ST77XX_ROTATION_90 /**< Rotation mode */ #define LCD_SCREEN_WIDTH (ST77XX_PARAM_NUM_LINES) /**< LCD screen width */ #define LCD_SCREEN_HEIGHT (ST77XX_PARAM_RGB_CHANNELS) /**< LCD screen height */ /** @} */