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

@ -551,7 +551,7 @@ static bool do_probe_move(const float z, const float fr_mm_s) {
// Disable stealthChop if used. Enable diag1 pin on driver.
#if ENABLED(SENSORLESS_PROBING)
sensorless_t stealth_states { false, false, false };
sensorless_t stealth_states { false, false, false, false, false, false, false };
#if ENABLED(DELTA)
stealth_states.x = tmc_enable_stallguard(stepperX);
stealth_states.y = tmc_enable_stallguard(stepperY);