TMC_DEBUG optimization and improvements (#13135)

This commit is contained in:
LinFor
2019-02-20 11:22:42 +03:00
committed by Scott Lahteine
parent 1424b368cf
commit ba39186364
7 changed files with 240 additions and 122 deletions

View File

@ -662,6 +662,10 @@
st.microsteps(microsteps);
st.intpol(INTERPOLATE);
st.diss2g(true); // Disable short to ground protection. Too many false readings?
#if ENABLED(TMC_DEBUG)
st.rdsel(0b01);
#endif
}
#endif // TMC2660