|
@@ -114,19 +114,19 @@
|
114
|
114
|
#define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, HEATER_0_PIN, analogInputToDigitalPin(TEMP_0_PIN),
|
115
|
115
|
#if EXTRUDERS > 1
|
116
|
116
|
#define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, HEATER_1_PIN, analogInputToDigitalPin(TEMP_1_PIN),
|
|
117
|
+ #if EXTRUDERS > 2
|
|
118
|
+ #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN),
|
|
119
|
+ #if EXTRUDERS > 3
|
|
120
|
+ #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, HEATER_3_PIN, analogInputToDigitalPin(TEMP_3_PIN),
|
|
121
|
+ #else
|
|
122
|
+ #define _E3_PINS
|
|
123
|
+ #endif
|
|
124
|
+ #else
|
|
125
|
+ #define _E2_PINS
|
|
126
|
+ #endif
|
117
|
127
|
#else
|
118
|
128
|
#define _E1_PINS
|
119
|
129
|
#endif
|
120
|
|
-#if EXTRUDERS > 2
|
121
|
|
- #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN),
|
122
|
|
-#else
|
123
|
|
- #define _E2_PINS
|
124
|
|
-#endif
|
125
|
|
-#if EXTRUDERS > 3
|
126
|
|
- #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, HEATER_3_PIN, analogInputToDigitalPin(TEMP_3_PIN),
|
127
|
|
-#else
|
128
|
|
- #define _E3_PINS
|
129
|
|
-#endif
|
130
|
130
|
|
131
|
131
|
#ifdef X_STOP_PIN
|
132
|
132
|
#if X_HOME_DIR < 0
|