Update tmc_util.cpp

This commit is contained in:
Scott Lahteine 2018-01-15 04:51:59 -06:00 committed by GitHub
parent ad500b01e0
commit 43d3d024ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -379,7 +379,7 @@ void _tmc_say_sgt(const char name[], const uint32_t sgt) {
if (tpwmthrs_val) if (tpwmthrs_val)
SERIAL_ECHO(12650000UL * st.microsteps() / (256 * tpwmthrs_val * spmm)); SERIAL_ECHO(12650000UL * st.microsteps() / (256 * tpwmthrs_val * spmm));
else else
SERIAL_CHAR('-'); SERIAL_CHAR('-');
} }
break; break;
case TMC_OTPW: serialprintPGM(st.otpw() ? PSTR("true") : PSTR("false")); break; case TMC_OTPW: serialprintPGM(st.otpw() ? PSTR("true") : PSTR("false")); break;