Browse Source

🐛 Fix SENSORLESS_HOMING for 6-axis

Scott Lahteine 3 years ago
parent
commit
33c89d1f3f
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Marlin/src/gcode/calibrate/G28.cpp

+ 1
- 3
Marlin/src/gcode/calibrate/G28.cpp View File

83
 
83
 
84
     #if ENABLED(SENSORLESS_HOMING)
84
     #if ENABLED(SENSORLESS_HOMING)
85
       sensorless_t stealth_states {
85
       sensorless_t stealth_states {
86
-          tmc_enable_stallguard(stepperX)
87
-        , tmc_enable_stallguard(stepperY)
88
-        , false
86
+          LINEAR_AXIS_LIST(tmc_enable_stallguard(stepperX), tmc_enable_stallguard(stepperY), false, false, false, false)
89
         , false
87
         , false
90
           #if AXIS_HAS_STALLGUARD(X2)
88
           #if AXIS_HAS_STALLGUARD(X2)
91
             || tmc_enable_stallguard(stepperX2)
89
             || tmc_enable_stallguard(stepperX2)

Loading…
Cancel
Save