Make sure _Ex_PINS is defined
Also fix analogInputToDigitalPin so it uses proper C hex notation
This commit is contained in:
@ -112,20 +112,18 @@
|
||||
|
||||
// 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, HEATER_0_PIN, analogInputToDigitalPin(TEMP_0_PIN),
|
||||
#define _E1_PINS
|
||||
#define _E2_PINS
|
||||
#define _E3_PINS
|
||||
|
||||
#if EXTRUDERS > 1
|
||||
#define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, HEATER_1_PIN, analogInputToDigitalPin(TEMP_1_PIN),
|
||||
#if EXTRUDERS > 2
|
||||
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN),
|
||||
#if EXTRUDERS > 3
|
||||
#define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, HEATER_3_PIN, analogInputToDigitalPin(TEMP_3_PIN),
|
||||
#else
|
||||
#define _E3_PINS
|
||||
#endif
|
||||
#else
|
||||
#define _E2_PINS
|
||||
#endif
|
||||
#else
|
||||
#define _E1_PINS
|
||||
#endif
|
||||
|
||||
#ifdef X_STOP_PIN
|
||||
|
Reference in New Issue
Block a user