GRAPHICAL_TFT_ROTATE_180 for ST7789V (#19042)

This commit is contained in:
mmajoor 2020-08-22 05:04:31 +02:00 committed by Scott Lahteine
parent 0ffd5aa743
commit 070412a6a5

View File

@ -298,7 +298,7 @@ static const uint16_t st7789v_init[] = {
ESC_REG(0x0010), ESC_DELAY(10), ESC_REG(0x0010), ESC_DELAY(10),
ESC_REG(0x0001), ESC_DELAY(200), ESC_REG(0x0001), ESC_DELAY(200),
ESC_REG(0x0011), ESC_DELAY(120), ESC_REG(0x0011), ESC_DELAY(120),
ESC_REG(0x0036), 0x00A0, ESC_REG(0x0036), TERN(GRAPHICAL_TFT_ROTATE_180, 0x0060, 0x00A0),
ESC_REG(0x003A), 0x0055, ESC_REG(0x003A), 0x0055,
ESC_REG(0x002A), 0x0000, 0x0000, 0x0001, 0x003F, ESC_REG(0x002A), 0x0000, 0x0000, 0x0001, 0x003F,
ESC_REG(0x002B), 0x0000, 0x0000, 0x0000, 0x00EF, ESC_REG(0x002B), 0x0000, 0x0000, 0x0000, 0x00EF,