Fix bug: diveToFile breaks M23 (#13865)

This commit is contained in:
Robby Candra
2019-05-03 03:54:24 +07:00
committed by Scott Lahteine
parent e5438a9a03
commit c369477cb0
4 changed files with 42 additions and 11 deletions

View File

@ -392,7 +392,6 @@ void PrintJobRecovery::resume() {
// Resume the SD file from the last position
char *fn = info.sd_filename;
while (*fn == '/') fn++;
sprintf_P(cmd, PSTR("M23 %s"), fn);
gcode.process_subcommands_now(cmd);
sprintf_P(cmd, PSTR("M24 S%ld T%ld"), info.sdpos, info.print_job_elapsed);