From e9444239eefd19a871fd0bdf6f25df976bf61b96 Mon Sep 17 00:00:00 2001 From: narno2202 Date: Fri, 26 Dec 2025 11:53:11 +0100 Subject: [PATCH] Fix missing preprocessor conditional --- Marlin/src/module/stepper.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/module/stepper.cpp b/Marlin/src/module/stepper.cpp index ebbeaf9132..ac33fe1287 100644 --- a/Marlin/src/module/stepper.cpp +++ b/Marlin/src/module/stepper.cpp @@ -671,7 +671,9 @@ void Stepper::disable_all_steppers() { #if ENABLED(FT_MOTION) // We'll compare the updated DIR bits to the last set state static AxisBits last_set_direction; - xyze_int_t Stepper::pending_hysteresis_steps ={0}; // Accumulated steps offset due to hysteresis delays + #if HAS_E_DRIVER(TMC2208) || HAS_E_DRIVER(TMC2208_STANDALONE) || HAS_E_DRIVER(TMC5160) || HAS_E_DRIVER(TMC5160_STANDALONE) + xyze_int_t Stepper::pending_hysteresis_steps ={0}; // Accumulated steps offset due to hysteresis delays + #endif #endif // Set a single axis direction based on the last set flags.