Fix M24 not starting new job (#12887)

This commit is contained in:
InsanityAutomation 2019-01-12 16:30:44 -05:00 committed by Scott Lahteine
parent f9299c4461
commit ed3ab5e212

View file

@ -92,8 +92,12 @@ void GcodeSuite::M24() {
#endif #endif
#if ENABLED(PARK_HEAD_ON_PAUSE) #if ENABLED(PARK_HEAD_ON_PAUSE)
if (did_pause_print) {
resume_print(); resume_print();
#else return;
}
#endif
if (card.isFileOpen()) { if (card.isFileOpen()) {
card.startFileprint(); card.startFileprint();
print_job_timer.start(); print_job_timer.start();
@ -104,7 +108,6 @@ void GcodeSuite::M24() {
#ifdef ACTION_ON_RESUME #ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME); SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#endif #endif
#endif
} }
/** /**