Revert "alter GS direction in hardware instead of attributes"

This reverts commit ea1bf4bcfa.
This commit is contained in:
prenticedavid
2019-02-25 14:22:57 +00:00
parent ea1bf4bcfa
commit 6596e1fcfb

View File

@@ -2055,7 +2055,7 @@ case 0x4532: // thanks Leodino
#ifdef SUPPORT_9163 #ifdef SUPPORT_9163
case 0x9163: // case 0x9163: //
_lcd_capable = AUTO_READINC | MIPI_DCS_REV1 | MV_AXIS | READ_24BITS; _lcd_capable = AUTO_READINC | MIPI_DCS_REV1 | MV_AXIS | INVERT_GS | READ_24BITS;
static const uint8_t PROGMEM table9163C[] = { static const uint8_t PROGMEM table9163C[] = {
// (COMMAND_BYTE), n, data_bytes.... // (COMMAND_BYTE), n, data_bytes....
0x26, 1, 0x04, // [01] GAMMASET 0x26, 1, 0x04, // [01] GAMMASET
@@ -2064,7 +2064,6 @@ case 0x4532: // thanks Leodino
0xE1, 16, 0x0f, 0x1b, 0x0f, 0x17, 0x33, 0x2c, 0x29, 0x2e, 0x30, 0x30, 0x39, 0x3f, 0x00, 0x07, 0x03, 0x10, 0xE1, 16, 0x0f, 0x1b, 0x0f, 0x17, 0x33, 0x2c, 0x29, 0x2e, 0x30, 0x30, 0x39, 0x3f, 0x00, 0x07, 0x03, 0x10,
0xB1, 2, 0x08, 0x02, //[0E 14] FRMCTR1 if GM==011 61.7Hz 0xB1, 2, 0x08, 0x02, //[0E 14] FRMCTR1 if GM==011 61.7Hz
0xB4, 1, 0x07, // [02] INVCTR 0xB4, 1, 0x07, // [02] INVCTR
0xB8, 1, 0x01, // [00] GSCTRL
0xC0, 2, 0x0A, 0x02, // [0A 05] PWCTR1 if LCM==10 0xC0, 2, 0x0A, 0x02, // [0A 05] PWCTR1 if LCM==10
0xC1, 1, 0x02, // [07] PWCTR2 0xC1, 1, 0x02, // [07] PWCTR2
0xC5, 2, 0x50, 0x63, // [43 4D] VMCTR1 0xC5, 2, 0x50, 0x63, // [43 4D] VMCTR1