TMC2130 dual-stepper Sensorless Homing (#13061)

This commit is contained in:
mattfredwill
2019-02-02 08:09:01 +08:00
committed by Scott Lahteine
parent f6edd2c472
commit c3cb449990
5 changed files with 41 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ void home_delta() {
// Disable stealthChop if used. Enable diag1 pin on driver.
#if ENABLED(SENSORLESS_HOMING)
sensorless_t stealth_states { false, false, false };
sensorless_t stealth_states { false, false, false, false, false, false, false };
stealth_states.x = tmc_enable_stallguard(stepperX);
stealth_states.y = tmc_enable_stallguard(stepperY);
stealth_states.z = tmc_enable_stallguard(stepperZ);