|
@@ -38,7 +38,7 @@
|
38
|
38
|
// portModeRegister takes a different argument
|
39
|
39
|
#define digitalPinToTimer_DEBUG(p) digitalPinToTimer(p)
|
40
|
40
|
#define digitalPinToBitMask_DEBUG(p) digitalPinToBitMask(p)
|
41
|
|
- #define digitalPinToPort_DEBUG(p) digitalPinToPort_Teensy(p)
|
|
41
|
+ #define digitalPinToPort_DEBUG(p) digitalPinToPort(p)
|
42
|
42
|
#define GET_PINMODE(pin) (*portModeRegister(pin) & digitalPinToBitMask_DEBUG(pin))
|
43
|
43
|
|
44
|
44
|
#elif AVR_ATmega2560_FAMILY_PLUS_70 // So we can access/display all the pins on boards using more than 70
|