Browse Source

Should marlinAnalogInputToDigitalPin use analogInputToDigitalPin?

Scott Lahteine 7 years ago
parent
commit
47bd142b29
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/pins.h

+ 1
- 1
Marlin/pins.h View File

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

Loading…
Cancel
Save