Explorar o código

Do not send useless keepalive messages after print is canceled from lcd

leptun %!s(int64=5) %!d(string=hai) anos
pai
achega
4d149f0dfa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -1753,7 +1753,7 @@ void loop()
 	}
     
 #ifdef FANCHECK
-    if (fan_check_error)
+    if (fan_check_error && isPrintPaused)
     {
         process_commands(); //used to process pausing
         KEEPALIVE_STATE(PAUSED_FOR_USER);