Browse Source

Should marlinAnalogInputToDigitalPin use analogInputToDigitalPin?

pull/1/head
Scott Lahteine 8 years ago
parent
commit
47bd142b29
  1. 2
      Marlin/pins.h

2
Marlin/pins.h

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

Loading…
Cancel
Save