mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Add the touch gpio pins to the list so that they are hidden from
IO selection.
This commit is contained in:
parent
c70dfe6d42
commit
7a3b8d0997
@ -348,6 +348,18 @@ bool ArduinoGfx::is_driver_pin(uint8_t pin)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef TFT_B4
|
#ifdef TFT_B4
|
||||||
|| (pin == 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
|
#endif
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user