Browse Source

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

leptun 5 years ago
parent
commit
4d149f0dfa
1 changed files with 1 additions and 1 deletions
  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);