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:
parent
be5f450a43
commit
6df46ecc91
@ -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
|
||||||
|
@ -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
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
@ -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
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user