소스 검색

Z_SENSORLESS sanity checks (#20421)

Co-authored-by: Jason Smith <jason.inet@gmail.com>
elasticdotventures 4 년 전
부모
커밋
04a3bd0d34
No account linked to committer's email address
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h 파일 보기

@@ -2654,6 +2654,10 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
2654 2654
 #if ENABLED(SENSORLESS_PROBING)
2655 2655
   #if ENABLED(DELTA) && !(X_SENSORLESS && Y_SENSORLESS && Z_SENSORLESS)
2656 2656
     #error "SENSORLESS_PROBING for DELTA requires TMC stepper drivers with StallGuard on X, Y, and Z axes."
2657
+  #elif ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
2658
+    #error "SENSORLESS_PROBING cannot be used with Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN."
2659
+  #elif ENABLED(USE_PROBE_FOR_Z_HOMING)
2660
+    #error "SENSORLESS_PROBING cannot be used with USE_PROBE_FOR_Z_HOMING."   
2657 2661
   #elif !Z_SENSORLESS
2658 2662
     #error "SENSORLESS_PROBING requires a TMC stepper driver with StallGuard on Z."
2659 2663
   #endif

Loading…
취소
저장