소스 검색

check idle

tuanchris 3 달 전
부모
커밋
270b09b52a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/connection/connection_manager.py

+ 1 - 1
modules/connection/connection_manager.py

@@ -471,7 +471,7 @@ def home(timeout=60):
                         loop = asyncio.new_event_loop()
                         asyncio.set_event_loop(loop)
                         try:
-                            await check_idle()
+                            check_idle()
                             result = loop.run_until_complete(send_grbl_coordinates(state.machine_x, state.machine_y + 20, 400, home=False))
                             if result == False:
                                 logger.error("Failed to move to perimeter for angular homing")