🩹 TMC2240 diag0 push-pull active HIGH (#27907)

This commit is contained in:
David Buezas
2025-06-03 00:34:02 +02:00
committed by GitHub
parent 6ea4a16212
commit 098e0961dc

View File

@@ -822,6 +822,8 @@ enum StealthIndex : uint8_t {
st.PWMCONF(pwmconf.sr);
TERN(HYBRID_THRESHOLD, st.set_pwm_thrs(hyb_thrs), UNUSED(hyb_thrs));
st.diag0_pushpull(true);
st.GSTAT(); // Clear GSTAT
}
#endif // TMC2240