Extend SERIAL_CHAR to take multiple arguments
This commit is contained in:
parent
5beca89412
commit
95046c9047
14 changed files with 81 additions and 81 deletions
|
@ -148,8 +148,7 @@ void safe_delay(millis_t ms) {
|
|||
SERIAL_ECHOPGM("ABL Adjustment X");
|
||||
LOOP_XYZ(a) {
|
||||
float v = planner.get_axis_position_mm(AxisEnum(a)) - current_position[a];
|
||||
SERIAL_CHAR(' ');
|
||||
SERIAL_CHAR('X' + char(a));
|
||||
SERIAL_CHAR(' ', 'X' + char(a));
|
||||
if (v > 0) SERIAL_CHAR('+');
|
||||
SERIAL_ECHO(v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue