mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-01 07:42:37 +00:00
🐛 Fix Print Timer stop with MarlinUI abort (#24902)
This commit is contained in:
parent
7e25ef9456
commit
b244785141
@ -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