ExtUI parity with SPI LCDs (#14172)
This commit is contained in:
committed by
Scott Lahteine
parent
07021c85c8
commit
f889cc6ea6
@ -831,35 +831,15 @@ namespace ExtUI {
|
||||
}
|
||||
|
||||
void pausePrint() {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
card.pauseSDPrint();
|
||||
print_job_timer.pause();
|
||||
#if ENABLED(PARK_HEAD_ON_PAUSE)
|
||||
enqueue_and_echo_commands_P(PSTR("M125"));
|
||||
#endif
|
||||
ui.set_status_P(PSTR(MSG_PRINT_PAUSED));
|
||||
#endif
|
||||
ui.pause_print();
|
||||
}
|
||||
|
||||
void resumePrint() {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
ui.set_status_P(PSTR(MSG_FILAMENT_CHANGE_RESUME_1));
|
||||
#if ENABLED(PARK_HEAD_ON_PAUSE)
|
||||
wait_for_heatup = wait_for_user = false;
|
||||
enqueue_and_echo_commands_P(PSTR("M24"));
|
||||
#else
|
||||
card.startFileprint();
|
||||
print_job_timer.start();
|
||||
#endif
|
||||
#endif
|
||||
ui.resume_print();
|
||||
}
|
||||
|
||||
void stopPrint() {
|
||||
#if ENABLED(SDSUPPORT)
|
||||
wait_for_heatup = wait_for_user = false;
|
||||
card.flag.abort_sd_printing = true;
|
||||
ui.set_status_P(PSTR(MSG_PRINT_ABORTED));
|
||||
#endif
|
||||
ui.stop_print();
|
||||
}
|
||||
|
||||
FileList::FileList() { refresh(); }
|
||||
|
Reference in New Issue
Block a user