Merge pull request #769 from FreeBear-nc/bugfixes

Move USB_TXD/RXD to is_system_pin()
This commit is contained in:
fvanroie 2024-07-19 17:28:25 +02:00 committed by GitHub
commit 4f8f01166c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;