Browse Source

Fix M24 not starting new job (#12887)

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
ed3ab5e212
  1. 21
      Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp

21
Marlin/src/gcode/sdcard/M20-M30_M32-M34_M524_M928.cpp

@ -92,18 +92,21 @@ void GcodeSuite::M24() {
#endif #endif
#if ENABLED(PARK_HEAD_ON_PAUSE) #if ENABLED(PARK_HEAD_ON_PAUSE)
resume_print(); if (did_pause_print) {
#else resume_print();
if (card.isFileOpen()) { return;
card.startFileprint();
print_job_timer.start();
} }
#endif
ui.reset_status(); if (card.isFileOpen()) {
card.startFileprint();
print_job_timer.start();
}
#ifdef ACTION_ON_RESUME ui.reset_status();
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#endif #ifdef ACTION_ON_RESUME
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
#endif #endif
} }

Loading…
Cancel
Save