ili9341: Update driver to use new port interface

This commit is contained in:
C47D 2021-10-05 00:03:02 -05:00
parent f6999a52fe
commit f7164ff22a
4 changed files with 136 additions and 121 deletions

View file

@ -18,10 +18,17 @@ extern "C" {
#if defined (CONFIG_LV_INVERT_COLORS)
#define ST7789_INVERT_COLORS 1U
#define ILI9341_INVERT_COLORS 1U
#endif
#define ST7789_INITIAL_ORIENTATION CONFIG_LV_DISPLAY_ORIENTATION
#if CONFIG_LV_DISP_USE_RST
#define ILI9341_USE_RST
#endif
#define ILI9341_INITIAL_ORIENTATION CONFIG_LV_DISPLAY_ORIENTATION
#ifdef __cplusplus
} /* extern "C" */
#endif