Browse Source

🐛 Fix Teensy PINS_DEBUG compile (#21958)

Followup to 84a11cfedc
Alvaro Segura Del Barco 4 years ago
parent
commit
7c2834c33c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/AVR/pinsDebug.h

+ 1
- 1
Marlin/src/HAL/AVR/pinsDebug.h View File

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

Loading…
Cancel
Save