1
0
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:
InsanityAutomation 2022-10-19 21:36:39 -04:00 committed by GitHub
parent 7e25ef9456
commit b244785141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());