Fix Babystepping loop (again)

This commit is contained in:
Scott Lahteine 2020-02-24 05:29:13 -06:00
parent 8ba5ef8cae
commit 5e197df89a
8 changed files with 48 additions and 36 deletions

View file

@ -1097,7 +1097,7 @@
bool tmc_enable_stallguard(TMC2209Stepper &st) {
const bool stealthchop_was_enabled = !st.en_spreadCycle();
st.TCOOLTHRS(0xFFFFF);
st.en_spreadCycle(false);
return stealthchop_was_enabled;