소스 검색

Significantly increase gcode timeout

Tuan Nguyen 1 년 전
부모
커밋
128e5d6ae0
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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: