1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 17:52:47 +01:00

boards: adapt ili9341 default config where needed

This commit is contained in:
Alexandre Abadie 2022-04-11 16:10:06 +02:00
parent be5f450a43
commit 6df46ecc91
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ extern "C" {
#define ILI9341_PARAM_NUM_LINES (240U) /**< Number of screen lines */ #define ILI9341_PARAM_NUM_LINES (240U) /**< Number of screen lines */
#define ILI9341_PARAM_RGB (1) /**< RGB configuration */ #define ILI9341_PARAM_RGB (1) /**< RGB configuration */
#define ILI9341_PARAM_INVERTED (1) /**< Inversion configuration */ #define ILI9341_PARAM_INVERTED (1) /**< Inversion configuration */
#define ILI9341_PARAM_ROTATION (ILI9341_ROTATION_HORZ_FLIP) /**< Rotation mode */ #define ILI9341_PARAM_ROTATION (LCD_ROTATION_HORZ_FLIP) /**< Rotation mode */
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -121,7 +121,7 @@
#define ILI9341_PARAM_RST LCD_RST #define ILI9341_PARAM_RST LCD_RST
#define ILi9341_PARAM_RGB 0 #define ILi9341_PARAM_RGB 0
#define ILI9341_PARAM_INVERTED 0 #define ILI9341_PARAM_INVERTED 0
#define ILI9341_PARAM_ROTATION ILI9341_ROTATION_HORZ_FLIP #define ILI9341_PARAM_ROTATION LCD_ROTATION_HORZ_FLIP
#endif #endif
/** @} */ /** @} */

View File

@ -76,7 +76,7 @@ extern "C" {
#define ILI9341_PARAM_RGB 1 #define ILI9341_PARAM_RGB 1
#define ILI9341_PARAM_INVERTED 1 #define ILI9341_PARAM_INVERTED 1
#define ILI9341_PARAM_NUM_LINES 240U #define ILI9341_PARAM_NUM_LINES 240U
#define ILI9341_PARAM_ROTATION ILI9341_ROTATION_HORZ_FLIP #define ILI9341_PARAM_ROTATION LCD_ROTATION_HORZ_FLIP
/** @} */ /** @} */
/** /**