Add the touch gpio pins to the list so that they are hidden from

IO selection.
This commit is contained in:
FreeBear 2024-05-20 15:30:15 +01:00
parent c70dfe6d42
commit 7a3b8d0997

View File

@ -348,6 +348,18 @@ bool ArduinoGfx::is_driver_pin(uint8_t pin)
#endif
#ifdef TFT_B4
|| (pin == TFT_B4)
#endif
#ifdef TOUCH_SDA
|| (pin == TOUCH_SDA)
#endif
#ifdef TOUCH_SCL
|| (pin == TOUCH_SCL)
#endif
#ifdef TOUCH_RST
|| (pin == TOUCH_RST)
#endif
#ifdef TOUCH_IRQ
|| (pin == TOUCH_IRQ)
#endif
) {
return true;