Minor string storage optimization

This commit is contained in:
Scott Lahteine committed 2020-02-01 20:29:31 -06:00
1 parent 4937519d51
commit 0e72c315a0
9 files changed
+18 -16

No files matched your search

+2 -2
View File
@@ -254,8 +254,8 @@ void GCodeQueue::ok_to_send() {
while (NUMERIC_SIGNED(*p))
SERIAL_ECHO(*p++);
}
SERIAL_ECHOPGM(" P"); SERIAL_ECHO(int(BLOCK_BUFFER_SIZE - planner.movesplanned() - 1));
SERIAL_ECHOPGM(" B"); SERIAL_ECHO(BUFSIZE - length);
SERIAL_ECHOPAIR_P(SP_P_STR, int(BLOCK_BUFFER_SIZE - planner.movesplanned() - 1));
SERIAL_ECHOPAIR(" B", BUFSIZE - length);
#endif
SERIAL_EOL();
}