Fix incorrect screen flip
For some reason the screen was flipped. Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
+1
-1
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user