Merge pull request #341 from PavelSindler/resend
Resend always contains OK
This commit is contained in:
commit
bf6fbdd44d
|
|
@ -1703,7 +1703,7 @@ void homeaxis(int axis)
|
||||||
feedrate = homing_feedrate[axis];
|
feedrate = homing_feedrate[axis];
|
||||||
|
|
||||||
#ifdef TMC2130
|
#ifdef TMC2130
|
||||||
tmc2130_home_enter(X_AXIS_MASK << axis);
|
tmc2130_home_enter(X_AXIS_MASK << axis);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Move right a bit, so that the print head does not touch the left end position,
|
// Move right a bit, so that the print head does not touch the left end position,
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue