Patch flush_and_request_resend for 1.1.x parity

This commit is contained in:
Scott Lahteine 2018-03-11 07:36:00 -05:00
parent 51ebdf3b7d
commit bae1cb859c

View file

@ -233,6 +233,7 @@ void flush_and_request_resend() {
SERIAL_FLUSH_P(port); SERIAL_FLUSH_P(port);
SERIAL_PROTOCOLPGM_P(port, MSG_RESEND); SERIAL_PROTOCOLPGM_P(port, MSG_RESEND);
SERIAL_PROTOCOLLN_P(port, gcode_LastN + 1); SERIAL_PROTOCOLLN_P(port, gcode_LastN + 1);
ok_to_send();
} }
void gcode_line_error(const char* err, uint8_t port) { void gcode_line_error(const char* err, uint8_t port) {