🐛 Fix Teensy PINS_DEBUGGING compile (#21958)

Followup to 84a11cfedc
This commit is contained in:
Alvaro Segura Del Barco 2021-05-22 14:52:41 -06:00 committed by Scott Lahteine
parent 003cb20b9f
commit 6861b1ec82

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