Skip to content

Commit

Permalink
Use moves_free in ok_to_send
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Feb 22, 2020
1 parent c505626 commit 3543873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/queue.cpp
Expand Up @@ -253,7 +253,7 @@ void GCodeQueue::ok_to_send() {
while (NUMERIC_SIGNED(*p))
SERIAL_ECHO(*p++);
}
SERIAL_ECHOPAIR_P(SP_P_STR, int(BLOCK_BUFFER_SIZE - planner.movesplanned() - 1));
SERIAL_ECHOPAIR_P(SP_P_STR, int(planner.moves_free()));
SERIAL_ECHOPAIR(" B", int(BUFSIZE - length));
#endif
SERIAL_EOL();
Expand Down

0 comments on commit 3543873

Please sign in to comment.