Skip to content

Commit d5ce2ca

Browse files
elasticdotventuressjasonsmith
authored andcommitted
Z_SENSORLESS sanity checks (MarlinFirmware#20421)
Co-authored-by: Jason Smith <[email protected]>
1 parent a74b28c commit d5ce2ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Marlin/src/inc/SanityCheck.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,6 +2654,10 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
26542654
#if ENABLED(SENSORLESS_PROBING)
26552655
#if ENABLED(DELTA) && !(X_SENSORLESS && Y_SENSORLESS && Z_SENSORLESS)
26562656
#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."
26572661
#elif !Z_SENSORLESS
26582662
#error "SENSORLESS_PROBING requires a TMC stepper driver with StallGuard on Z."
26592663
#endif

0 commit comments

Comments
 (0)