From 82e90220b4bf270b1e436f97d90e4467e7ddafc3 Mon Sep 17 00:00:00 2001 From: mikep1998 <44448320+mikep1998@users.noreply.github.com> Date: Sat, 10 Jul 2021 14:26:21 -0700 Subject: [PATCH] GPIO_XPT2046_CS is not specific to ILI9341 GPIO_XPT2046_CS is not specific to ILI9341 it is also used with ILI9488 --- tasmota/tasmota_template.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_template.h b/tasmota/tasmota_template.h index 6db361c33..c7b901e26 100644 --- a/tasmota/tasmota_template.h +++ b/tasmota/tasmota_template.h @@ -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