Merge pull request #341 from PavelSindler/resend

Resend always contains OK
This commit is contained in:
PavelSindler 2017-12-22 19:24:00 +01:00 committed by GitHub
commit bf6fbdd44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -6159,7 +6159,8 @@ void FlushSerialRequestResend()
MYSERIAL.flush(); MYSERIAL.flush();
SERIAL_PROTOCOLRPGM(MSG_RESEND); SERIAL_PROTOCOLRPGM(MSG_RESEND);
SERIAL_PROTOCOLLN(gcode_LastN + 1); 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. // Confirm the execution of a command, if sent from a serial line.