Default active low for TMC2130 DIAG1 (#10294)

- Added sanity check to require endstop inverting with SENSORLESS_HOMING
This commit is contained in:
Scott Lahteine 2018-04-05 16:42:14 -05:00
parent c46d47f45f
commit 53757444c5
2 changed files with 16 additions and 7 deletions

View file

@ -188,7 +188,6 @@
st.power_down_delay(128); // ~2s until driver lowers to hold current
st.hysteresis_start(3);
st.hysteresis_end(2);
st.diag1_active_high(1); // For sensorless homing
#if ENABLED(STEALTHCHOP)
st.stealth_freq(1); // f_pwm = 2/683 f_clk
st.stealth_autoscale(1);