Explorar o código

Significantly increase gcode timeout

Tuan Nguyen hai 11 meses
pai
achega
128e5d6ae0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/connection/connection_manager.py

+ 1 - 1
modules/connection/connection_manager.py

@@ -224,7 +224,7 @@ def send_grbl_coordinates(x, y, speed=600, timeout=2, home=False):
     
     # Track overall attempt time
     overall_start_time = time.time()
-    max_total_attempt_time = 10 # Maximum total seconds to try
+    max_total_attempt_time = 120 # Maximum total seconds to try
     
     while time.time() - overall_start_time < max_total_attempt_time:
         try: