Browse Source

🐛 Fix Print Timer stop with MarlinUI abort (#24902)

InsanityAutomation 1 year ago
parent
commit
b244785141
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/marlinui.cpp

+ 1
- 1
Marlin/src/lcd/marlinui.cpp View File

@@ -1630,7 +1630,7 @@ void MarlinUI::init() {
1630 1630
     #ifdef ACTION_ON_CANCEL
1631 1631
       hostui.cancel();
1632 1632
     #endif
1633
-    IF_DISABLED(SDSUPPORT, print_job_timer.stop());
1633
+    print_job_timer.stop();
1634 1634
     TERN_(HOST_PROMPT_SUPPORT, hostui.prompt_open(PROMPT_INFO, F("UI Aborted"), FPSTR(DISMISS_STR)));
1635 1635
     LCD_MESSAGE(MSG_PRINT_ABORTED);
1636 1636
     TERN_(HAS_MARLINUI_MENU, return_to_status());

Loading…
Cancel
Save