|
|
@ -114,19 +114,19 @@ |
|
|
|
#define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, HEATER_0_PIN, analogInputToDigitalPin(TEMP_0_PIN), |
|
|
|
#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 |
|
|
|
#if EXTRUDERS > 2 |
|
|
|
#define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN), |
|
|
|
#else |
|
|
|
#define _E2_PINS |
|
|
|
#endif |
|
|
|
#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 |
|
|
|
|
|
|
|
#ifdef X_STOP_PIN |
|
|
|
#if X_HOME_DIR < 0 |
|
|
|