serial resend request always contains OK

This commit is contained in:
PavelSindler 2017-12-22 18:54:55 +01:00
parent 6f7a2ba263
commit 3aca1271ed
2 changed files with 5 additions and 4 deletions

View File

@ -6159,7 +6159,8 @@ void FlushSerialRequestResend()
MYSERIAL.flush();
SERIAL_PROTOCOLRPGM(MSG_RESEND);
SERIAL_PROTOCOLLN(gcode_LastN + 1);
ClearToSend();
previous_millis_cmd = millis();
SERIAL_PROTOCOLLNRPGM(MSG_OK);
}
// Confirm the execution of a command, if sent from a serial line.