Add SERIAL_FLUSH and SERIAL_FLUSHTX macros
This commit is contained in:
parent
a8a64f19f4
commit
023d21a1cf
5 changed files with 15 additions and 10 deletions
|
|
@ -11981,7 +11981,7 @@ void process_next_command() {
|
|||
*/
|
||||
void FlushSerialRequestResend() {
|
||||
//char command_queue[cmd_queue_index_r][100]="Resend:";
|
||||
MYSERIAL0.flush();
|
||||
SERIAL_FLUSH();
|
||||
SERIAL_PROTOCOLPGM(MSG_RESEND);
|
||||
SERIAL_PROTOCOLLN(gcode_LastN + 1);
|
||||
ok_to_send();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue