Use moves_free in ok_to_send

2.0.x
Scott Lahteine 5 years ago
parent cfd49740eb
commit 1ab6f910b6

@ -253,7 +253,7 @@ void GCodeQueue::ok_to_send() {
while (NUMERIC_SIGNED(*p)) while (NUMERIC_SIGNED(*p))
SERIAL_ECHO(*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)); SERIAL_ECHOPAIR(" B", int(BUFSIZE - length));
#endif #endif
SERIAL_EOL(); SERIAL_EOL();

Loading…
Cancel
Save