Browse Source

Use SERIAL_ECHOLNPAIR for resend

Scott Lahteine 4 years ago
parent
commit
28318f27d9
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      Marlin/src/gcode/queue.cpp

+ 1
- 2
Marlin/src/gcode/queue.cpp View File

268
     PORT_REDIRECT(SERIAL_PORTMASK(serial_ind));   // Reply to the serial port that sent the command
268
     PORT_REDIRECT(SERIAL_PORTMASK(serial_ind));   // Reply to the serial port that sent the command
269
   #endif
269
   #endif
270
   SERIAL_FLUSH();
270
   SERIAL_FLUSH();
271
-  SERIAL_ECHOPGM(STR_RESEND);
271
+  SERIAL_ECHOLNPAIR(STR_RESEND, serial_state[serial_ind.index].last_N + 1);
272
-  SERIAL_ECHOLN(serial_state[serial_ind.index].last_N + 1);
273
   SERIAL_ECHOLNPGM(STR_OK);
272
   SERIAL_ECHOLNPGM(STR_OK);
274
 }
273
 }
275
 
274
 

Loading…
Cancel
Save