Fix X2 enable with X_DUAL_STEPPER_DRIVERS

From #9286
This commit is contained in:
Scott Lahteine 2018-02-18 22:08:18 -06:00
parent c241da32e8
commit 3d1692d1fd

View File

@ -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