GPIO_XPT2046_CS is not specific to ILI9341

GPIO_XPT2046_CS is not specific to ILI9341 it is also used with ILI9488
This commit is contained in:
mikep1998 2021-07-10 14:26:21 -07:00
parent c72465b063
commit 82e90220b4

View File

@ -471,10 +471,12 @@ const uint16_t kGpioNiceList[] PROGMEM = {
#ifdef USE_DISPLAY_ILI9341
AGPIO(GPIO_ILI9341_CS),
AGPIO(GPIO_ILI9341_DC),
#endif // USE_DISPLAY_ILI9341
#ifdef USE_XPT2046
AGPIO(GPIO_XPT2046_CS), // XPT2046 SPI Chip Select
#endif
#endif // USE_DISPLAY_ILI9341
#ifdef USE_DISPLAY_ILI9488
AGPIO(GPIO_ILI9488_CS),
#endif // USE_DISPLAY_ILI9488