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();
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.