Skip to content
Snippets Groups Projects
Commit ed3ab5e2 authored by InsanityAutomation's avatar InsanityAutomation Committed by Scott Lahteine
Browse files

Fix M24 not starting new job (#12887)

parent f9299c44
Branches
Tags
No related merge requests found
......@@ -92,18 +92,21 @@ void GcodeSuite::M24() {
#endif
#if ENABLED(PARK_HEAD_ON_PAUSE)
resume_print();
#else
if (card.isFileOpen()) {
card.startFileprint();
print_job_timer.start();
if (did_pause_print) {
resume_print();
return;
}
#endif
ui.reset_status();
#ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#endif
if (card.isFileOpen()) {
card.startFileprint();
print_job_timer.start();
}
ui.reset_status();
#ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment