소스 검색

detect DWMP

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

+ 2 - 0
modules/connection/connection_manager.py

@@ -499,6 +499,8 @@ def get_machine_steps(timeout=10):
             state.table_type = 'dune_weaver_pro'
         elif y_steps_per_mm == 287:
             state.table_type = 'dune_weaver'
+        elif y_steps_per_mm == 164:
+            state.table_type == 'dune_weaver_mini_pro'
         else:
             state.table_type = None
             logger.warning(f"Unknown table type with Y steps/mm: {y_steps_per_mm}")