|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|