Fix bug: diveToFile breaks M23 (#13865)

This commit is contained in:
Robby Candra authored and Scott Lahteine committed 2019-05-02 15:54:24 -05:00
1 parent e5438a9a03
commit c369477cb0
4 files changed
+42 -11

No files matched your search

@@ -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);