mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: adapt configuration with new rotation mode defines
This commit is contained in:
parent
85ba0597f7
commit
d992a18c76
@ -107,7 +107,7 @@ 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_VERT) /**< Rotation mode */
|
||||
#define ILI9341_PARAM_ROTATION (ILI9341_ROTATION_VERT) /**< Rotation mode */
|
||||
#define ILI9341_PARAM_OFFSET_X (80) /**< Vertical rotation requires a 80 pixel offset */
|
||||
/** @} */
|
||||
|
||||
|
@ -75,6 +75,7 @@ extern "C" {
|
||||
#define ST7735_PARAM_RGB_CHANNELS (128U) /**< Number of screen rgb channel (height) */
|
||||
#define ST7735_PARAM_RGB (1) /**< RGB configuration */
|
||||
#define ST7735_PARAM_INVERTED (0) /**< Inversion configuration */
|
||||
#define ST7735_PARAM_ROTATION (ST7735_ROTATION_HORZ_FLIP) /**< Rotation mode */
|
||||
#define LCD_SCREEN_WIDTH (ST7735_PARAM_NUM_LINES) /**< LCD screen width */
|
||||
#define LCD_SCREEN_HEIGHT (ST7735_PARAM_RGB_CHANNELS) /**< LCD screen height */
|
||||
/** @} */
|
||||
|
@ -121,7 +121,7 @@
|
||||
#define ILI9341_PARAM_RST LCD_RST
|
||||
#define ILi9341_PARAM_RGB 0
|
||||
#define ILI9341_PARAM_INVERTED 0
|
||||
#define ILI9341_PARAM_ROTATION LCD_ROTATION_HORZ_FLIP
|
||||
#define ILI9341_PARAM_ROTATION ILI9341_ROTATION_HORZ_FLIP
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
@ -76,7 +76,7 @@ extern "C" {
|
||||
#define ILI9341_PARAM_RGB 1
|
||||
#define ILI9341_PARAM_INVERTED 1
|
||||
#define ILI9341_PARAM_NUM_LINES 240U
|
||||
#define ILI9341_PARAM_ROTATION LCD_ROTATION_HORZ_FLIP
|
||||
#define ILI9341_PARAM_ROTATION ILI9341_ROTATION_HORZ_FLIP
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user