瀏覽代碼

🐛 Fix Teensy PINS_DEBUG compile (#21958)

Followup to 84a11cfedc
Alvaro Segura Del Barco 4 年之前
父節點
當前提交
7c2834c33c
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/HAL/AVR/pinsDebug.h

+ 1
- 1
Marlin/src/HAL/AVR/pinsDebug.h 查看文件

@@ -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

Loading…
取消
儲存