🐛 Fix SENSORLESS_HOMING for 6-axis

This commit is contained in:
Scott Lahteine 2021-11-14 17:19:57 -06:00 committed by Scott Lahteine
parent 8cb646cc20
commit cb1570d162

View File

@ -83,9 +83,7 @@
#if ENABLED(SENSORLESS_HOMING) #if ENABLED(SENSORLESS_HOMING)
sensorless_t stealth_states { sensorless_t stealth_states {
tmc_enable_stallguard(stepperX) LINEAR_AXIS_LIST(tmc_enable_stallguard(stepperX), tmc_enable_stallguard(stepperY), false, false, false, false)
, tmc_enable_stallguard(stepperY)
, false
, false , false
#if AXIS_HAS_STALLGUARD(X2) #if AXIS_HAS_STALLGUARD(X2)
|| tmc_enable_stallguard(stepperX2) || tmc_enable_stallguard(stepperX2)