|
|
@ -579,12 +579,12 @@ |
|
|
|
#endif |
|
|
|
|
|
|
|
// The X2 axis, if any, should be the next open extruder port
|
|
|
|
#if EITHER(DUAL_X_CARRIAGE, X_DUAL_STEPPER_DRIVERS) && !defined(X2_DIAG_PIN) && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS_PIN) |
|
|
|
#if HAS_X2_STEPPER && !defined(X2_DIAG_PIN) && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS_PIN) |
|
|
|
#define Y2_E_INDEX INCREMENT(X2_E_INDEX) |
|
|
|
#else |
|
|
|
#define Y2_E_INDEX X2_E_INDEX |
|
|
|
#endif |
|
|
|
#if EITHER(DUAL_X_CARRIAGE, X_DUAL_STEPPER_DRIVERS) |
|
|
|
#if HAS_X2_STEPPER |
|
|
|
#ifndef X2_STEP_PIN |
|
|
|
#define X2_STEP_PIN _EPIN(X2_E_INDEX, STEP) |
|
|
|
#define X2_DIR_PIN _EPIN(X2_E_INDEX, DIR) |
|
|
|