🩹 TMC2240 diag0 push-pull active HIGH ()

This commit is contained in:
David Buezas 2025-06-03 00:34:02 +02:00 committed by GitHub
parent 6ea4a16212
commit 098e0961dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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