Various fixups to configs, spacing, etc.

This commit is contained in:
Scott Lahteine
2018-09-06 05:33:16 -05:00
parent b3efbc6e6e
commit 2a61c9a939
70 changed files with 211 additions and 265 deletions

View File

@ -130,7 +130,7 @@ bool report_tmc_status = false;
#if CURRENT_STEP_DOWN > 0
// Decrease current if is_otpw is true and driver is enabled and there's been more than 4 warnings
if (data.is_otpw && st.isEnabled() && otpw_cnt > 4) {
st.setCurrent(st.getCurrent() - CURRENT_STEP_DOWN, R_SENSE, HOLD_MULTIPLIER);
st.setCurrent(st.getCurrent() - (CURRENT_STEP_DOWN), R_SENSE, HOLD_MULTIPLIER);
#if ENABLED(REPORT_CURRENT_CHANGE)
_tmc_say_axis(axis);
SERIAL_ECHOLNPAIR(" current decreased to ", st.getCurrent());