Переглянути джерело

Z_SENSORLESS sanity checks (#20421)

Co-authored-by: Jason Smith <jason.inet@gmail.com>
elasticdotventures 4 роки тому
джерело
коміт
04a3bd0d34
Аккаунт користувача з таким Email не знайдено
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

Завантаження…
Відмінити
Зберегти