mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-23 19:26:38 +00:00
Merge pull request #769 from FreeBear-nc/bugfixes
Move USB_TXD/RXD to is_system_pin()
This commit is contained in:
commit
4f8f01166c
@ -364,12 +364,6 @@ bool ArduinoGfx::is_driver_pin(uint8_t pin)
|
|||||||
#endif
|
#endif
|
||||||
#ifdef TOUCH_IRQ
|
#ifdef TOUCH_IRQ
|
||||||
|| (pin == TOUCH_IRQ)
|
|| (pin == TOUCH_IRQ)
|
||||||
#endif
|
|
||||||
#ifdef USB_TXD
|
|
||||||
|| (pin == USB_TXD)
|
|
||||||
#endif
|
|
||||||
#ifdef USB_RXD
|
|
||||||
|| (pin == USB_RXD)
|
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user