mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-18 00:07:50 +00:00
🐛 Fix Print Timer stop with MarlinUI abort (#24902)
This commit is contained in:
parent
6b1d738995
commit
a913b2437b
@ -1630,7 +1630,7 @@ void MarlinUI::init() {
|
|||||||
#ifdef ACTION_ON_CANCEL
|
#ifdef ACTION_ON_CANCEL
|
||||||
hostui.cancel();
|
hostui.cancel();
|
||||||
#endif
|
#endif
|
||||||
IF_DISABLED(SDSUPPORT, print_job_timer.stop());
|
print_job_timer.stop();
|
||||||
TERN_(HOST_PROMPT_SUPPORT, hostui.prompt_open(PROMPT_INFO, F("UI Aborted"), FPSTR(DISMISS_STR)));
|
TERN_(HOST_PROMPT_SUPPORT, hostui.prompt_open(PROMPT_INFO, F("UI Aborted"), FPSTR(DISMISS_STR)));
|
||||||
LCD_MESSAGE(MSG_PRINT_ABORTED);
|
LCD_MESSAGE(MSG_PRINT_ABORTED);
|
||||||
TERN_(HAS_MARLINUI_MENU, return_to_status());
|
TERN_(HAS_MARLINUI_MENU, return_to_status());
|
||||||
|
Loading…
Reference in New Issue
Block a user