Skip to content

Commit

Permalink
boards/adafruit-clue: fix display rotation mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Apr 13, 2022
1 parent 81cf5db commit d060f47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boards/adafruit-clue/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ extern "C" {
#define ILI9341_PARAM_NUM_LINES (240U) /**< Number of screen lines */
#define ILI9341_PARAM_RGB (1) /**< RGB configuration */
#define ILI9341_PARAM_INVERTED (1) /**< Inversion configuration */
#define ILI9341_PARAM_ROTATION (LCD_ROTATION_HORZ_FLIP) /**< Rotation mode */
#define ILI9341_PARAM_ROTATION (LCD_ROTATION_VERT) /**< Rotation mode */
#define ILI9341_PARAM_OFFSET_X (80) /**< Vertical rotation requires a 80 pixel offset */
/** @} */

#ifdef __cplusplus
Expand Down

0 comments on commit d060f47

Please sign in to comment.