瀏覽代碼

Fix Cancel Print command processing

leptun 5 年之前
父節點
當前提交
9c22692827
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Firmware/Marlin_main.cpp

+ 1 - 2
Firmware/Marlin_main.cpp

@@ -1755,12 +1755,11 @@ void loop()
 #ifdef FANCHECK
     if (fan_check_error && isPrintPaused)
     {
-        process_commands(); //used to process pausing
         KEEPALIVE_STATE(PAUSED_FOR_USER);
         host_keepalive(); //prevent timeouts since usb processing is disabled until print is resumed. This is for a crude way of pausing a print on all hosts.
     }
-    else
 #endif
+
     if (prusa_sd_card_upload)
     {
         //we read byte-by byte