Explorar o código

Fix Cancel Print command processing

leptun %!s(int64=5) %!d(string=hai) anos
pai
achega
9c22692827
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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