Skip to content

Commit

Permalink
Fix flush_and_request_resend
Browse files Browse the repository at this point in the history
Thanks @ellensp and @rhapsodyv
  • Loading branch information
thinkyhead committed May 4, 2021
1 parent a0ea7cb commit 614f0e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/gcode/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ void GCodeQueue::flush_and_request_resend(const serial_index_t serial_ind) {
SERIAL_FLUSH();
SERIAL_ECHOPGM(STR_RESEND);
SERIAL_ECHOLN(serial_state[serial_ind.index].last_N + 1);
ok_to_send();
}

static bool serial_data_available(serial_index_t index) {
Expand Down

0 comments on commit 614f0e5

Please sign in to comment.