Skip to content

Commit

Permalink
🐛 Fix Print Timer stop with MarlinUI abort (MarlinFirmware#24902)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored Oct 20, 2022
1 parent 7e25ef9 commit b244785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/marlinui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@ void MarlinUI::init() {
#ifdef ACTION_ON_CANCEL
hostui.cancel();
#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)));
LCD_MESSAGE(MSG_PRINT_ABORTED);
TERN_(HAS_MARLINUI_MENU, return_to_status());
Expand Down

0 comments on commit b244785

Please sign in to comment.