Fix incorrect screen flip

For some reason the screen was flipped.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
Mahyar Koshkouei
2022-05-21 15:25:56 +01:00
parent 87d7e03b6e
commit e806180914
+1 -1
View File
@@ -389,7 +389,7 @@ unsigned mk_ili9225_init(void)
{ MK_ILI9225_REG_LCD_AC_DRIVING_CTRL, 0x0100 }, { MK_ILI9225_REG_LCD_AC_DRIVING_CTRL, 0x0100 },
/* Increment vertical and horizontal address. /* Increment vertical and horizontal address.
* Use vertical image. */ * Use vertical image. */
{ MK_ILI9225_REG_ENTRY_MODE, 0x1018 }, { MK_ILI9225_REG_ENTRY_MODE, 0x1008 },
/* Turn off all display outputs. */ /* Turn off all display outputs. */
{ MK_ILI9225_REG_DISPLAY_CTRL, 0x0000 }, { MK_ILI9225_REG_DISPLAY_CTRL, 0x0000 },
/* Set porches to 8 lines. */ /* Set porches to 8 lines. */