add support for UNKNOWN ID=0x0001

This commit is contained in:
prenticedavid
2018-10-20 15:49:24 +01:00
parent 89781839e4
commit b5ac4405b3
2 changed files with 4 additions and 1 deletions

View File

@@ -2105,7 +2105,9 @@ case 0x4532: // thanks Leodino
break;
#endif
// goto common_9320;
case 0x0001:
_lcd_capable = 0 | REV_SCREEN | INVERT_GS; //no RGB bug. thanks Ivo_Deshev
goto common_9320;
case 0x5408:
_lcd_capable = 0 | REV_SCREEN | READ_BGR; //Red 2.4" thanks jorgenv, Ardlab_Gent
// _lcd_capable = 0 | REV_SCREEN | READ_BGR | INVERT_GS; //Blue 2.8" might be different

View File

@@ -84,6 +84,7 @@ UNKNOWN 240x320 ID=0x1602
UNKNOWN 240x320 ID=0xAC11
UNKNOWN 240x320 ID=0x2053 weird controller from BangGood (was ID=0x0000)
UNKNOWN 240x320 ID=0x8031 (no Vertical Scroll)
UNKNOWN 240x320 ID=0x0001 (0x9320 style)
Most of these controllers are #define SUPPORT_xxxx by default.
You can save Flash memory on a Uno by commenting out the macro(s) in MCUFRIEND_kbv.cpp