From 0527090a317694bfa4c1d3a5cdd183255b743a21 Mon Sep 17 00:00:00 2001 From: cprund <35640452+cprund@users.noreply.github.com> Date: Mon, 22 Jan 2018 09:32:09 +0200 Subject: [PATCH] Minor bugfix to the code that enables the 2nd X stepper. It needs to be enabled for X_DUAL_STEPPER_DRIVERS. (#9286) --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index b795bbc7c..f633ee30d 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -1010,7 +1010,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