Use serial macros where possible

This commit is contained in:
Scott Lahteine
2018-02-16 17:53:47 -06:00
parent 023d21a1cf
commit 12628d43ce
5 changed files with 25 additions and 25 deletions

View File

@@ -336,8 +336,8 @@ class Stepper {
}
if (timer < 100) { // (20kHz - this should never happen)
timer = 100;
MYSERIAL0.print(MSG_STEPPER_TOO_HIGH);
MYSERIAL0.println(step_rate);
SERIAL_PROTOCOL(MSG_STEPPER_TOO_HIGH);
SERIAL_PROTOCOLLN(step_rate);
}
return timer;
}