🐛 Fix Teensy PINS_DEBUGGING compile (#21958)

Followup to 84a11cfedc
This commit is contained in:
Alvaro Segura Del Barco authored and Scott Lahteine committed 2021-05-22 15:55:08 -05:00
1 parent 003cb20b9f
commit 6861b1ec82
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@
// portModeRegister takes a different argument
#define digitalPinToTimer_DEBUG(p) digitalPinToTimer(p)
#define digitalPinToBitMask_DEBUG(p) digitalPinToBitMask(p)
#define digitalPinToPort_DEBUG(p) digitalPinToPort_Teensy(p)
#define digitalPinToPort_DEBUG(p) digitalPinToPort(p)
#define GET_PINMODE(pin) (*portModeRegister(pin) & digitalPinToBitMask_DEBUG(pin))
#elif AVR_ATmega2560_FAMILY_PLUS_70 // So we can access/display all the pins on boards using more than 70