Reduce string duplication
This commit is contained in:
parent
0fad9535d1
commit
dc6d8357a6
9 changed files with 23 additions and 23 deletions
|
|
@ -289,8 +289,8 @@ void GCodeQueue::ok_to_send() {
|
|||
while (NUMERIC_SIGNED(*p))
|
||||
SERIAL_ECHO(*p++);
|
||||
}
|
||||
SERIAL_ECHOPAIR_P(SP_P_STR, int(planner.moves_free()));
|
||||
SERIAL_ECHOPAIR(" B", int(BUFSIZE - length));
|
||||
SERIAL_ECHOPAIR_P(SP_P_STR, int(planner.moves_free()),
|
||||
SP_B_STR, int(BUFSIZE - length));
|
||||
#endif
|
||||
SERIAL_EOL();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue