Move USB_TXD/RXD to is_system_pin()

This commit is contained in:
FreeBear 2024-07-19 16:15:45 +01:00
parent e1a063d8e1
commit 0b30b075fa

View File

@ -364,12 +364,6 @@ bool ArduinoGfx::is_driver_pin(uint8_t pin)
#endif
#ifdef TOUCH_IRQ
|| (pin == TOUCH_IRQ)
#endif
#ifdef USB_TXD
|| (pin == USB_TXD)
#endif
#ifdef USB_RXD
|| (pin == USB_RXD)
#endif
) {
return true;