mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-06 22:47:27 -06:00
🩹 TMC2240 diag0 push-pull active HIGH (#27907)
This commit is contained in:
parent
6ea4a16212
commit
098e0961dc
1 changed files with 2 additions and 0 deletions
|
@ -822,6 +822,8 @@ enum StealthIndex : uint8_t {
|
||||||
st.PWMCONF(pwmconf.sr);
|
st.PWMCONF(pwmconf.sr);
|
||||||
|
|
||||||
TERN(HYBRID_THRESHOLD, st.set_pwm_thrs(hyb_thrs), UNUSED(hyb_thrs));
|
TERN(HYBRID_THRESHOLD, st.set_pwm_thrs(hyb_thrs), UNUSED(hyb_thrs));
|
||||||
|
|
||||||
|
st.diag0_pushpull(true);
|
||||||
st.GSTAT(); // Clear GSTAT
|
st.GSTAT(); // Clear GSTAT
|
||||||
}
|
}
|
||||||
#endif // TMC2240
|
#endif // TMC2240
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue