浏览代码

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

InsanityAutomation 1年前
父节点
当前提交
b244785141
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/lcd/marlinui.cpp

+ 1
- 1
Marlin/src/lcd/marlinui.cpp 查看文件

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

正在加载...
取消
保存