Serial macros cleanup

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-02-28 20:02:24 -06:00
1 parent f0b662ff58
commit dd42831cba
48 files changed
+101 -117

No files matched your search

+1 -2
View File
@@ -32,8 +32,7 @@ template<typename TMC>
void tmc_say_stealth_status(TMC &st) {
st.printLabel();
SERIAL_ECHOPGM(" driver mode:\t");
serialprintPGM(st.get_stealthChop() ? PSTR("stealthChop") : PSTR("spreadCycle"));
SERIAL_EOL();
SERIAL_ECHOLNPGM_P(st.get_stealthChop() ? PSTR("stealthChop") : PSTR("spreadCycle"));
}
template<typename TMC>
void tmc_set_stealthChop(TMC &st, const bool enable) {