Browse Source

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

leptun 5 năm trước cách đây
mục cha
commit
4d149f0dfa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);