Reduce string duplication

This commit is contained in:
Scott Lahteine committed 2020-07-05 16:00:32 -05:00
1 parent 0fad9535d1
commit dc6d8357a6
9 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -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();
}