Reduce string duplication
This commit is contained in:
1 parent
0fad9535d1
commit
dc6d8357a6
9 files changed
+23
-23
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user