From 33c89d1f3fa603e49f5a9b346d089331f0f0efbf Mon Sep 17 00:00:00 2001 From: Scott Lahteine <github@thinkyhead.com> Date: Sun, 14 Nov 2021 17:19:57 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20SENSORLESS=5FHOMING=20for?= =?UTF-8?q?=206-axis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/calibrate/G28.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Marlin/src/gcode/calibrate/G28.cpp b/Marlin/src/gcode/calibrate/G28.cpp index 95f2a9b1761..28df536c51e 100644 --- a/Marlin/src/gcode/calibrate/G28.cpp +++ b/Marlin/src/gcode/calibrate/G28.cpp @@ -83,9 +83,7 @@ #if ENABLED(SENSORLESS_HOMING) sensorless_t stealth_states { - tmc_enable_stallguard(stepperX) - , tmc_enable_stallguard(stepperY) - , false + LINEAR_AXIS_LIST(tmc_enable_stallguard(stepperX), tmc_enable_stallguard(stepperY), false, false, false, false) , false #if AXIS_HAS_STALLGUARD(X2) || tmc_enable_stallguard(stepperX2)