ソースを参照

Should marlinAnalogInputToDigitalPin use analogInputToDigitalPin?

Scott Lahteine 8年前
コミット
47bd142b29
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/pins.h

+ 1
- 1
Marlin/pins.h ファイルの表示

@@ -276,7 +276,7 @@
276 276
 #endif
277 277
 
278 278
 // Marlin needs to account for pins that equal -1
279
-#define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : (p) + 0xA0)
279
+#define marlinAnalogInputToDigitalPin(p) ((p) == -1 ? -1 : analogInputToDigitalPin(p))
280 280
 
281 281
 // List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
282 282
 #define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, E0_MS1_PIN, E0_MS2_PIN,

読み込み中…
キャンセル
保存