Fix bug: diveToFile breaks M23 (#13865)
This commit is contained in:
committed by
Scott Lahteine
parent
e5438a9a03
commit
c369477cb0
@ -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);
|
||||
|
Reference in New Issue
Block a user