Fix X2 enable with X_DUAL_STEPPER_DRIVERS

From #9286
2.0.x
Scott Lahteine 7 years ago
parent c241da32e8
commit 3d1692d1fd

@ -995,7 +995,7 @@ void Stepper::init() {
#if HAS_X_ENABLE
X_ENABLE_INIT;
if (!X_ENABLE_ON) X_ENABLE_WRITE(HIGH);
#if ENABLED(DUAL_X_CARRIAGE) && HAS_X2_ENABLE
#if (ENABLED(DUAL_X_CARRIAGE) || ENABLED(X_DUAL_STEPPER_DRIVERS)) && HAS_X2_ENABLE
X2_ENABLE_INIT;
if (!X_ENABLE_ON) X2_ENABLE_WRITE(HIGH);
#endif

Loading…
Cancel
Save