Fix Touch-MI sanity checks (#14316)
This commit is contained in:
parent
66d51272af
commit
ce5f94c8f4
|
@ -1051,9 +1051,9 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
|||
* Touch-MI probe requirements
|
||||
*/
|
||||
#if ENABLED(TOUCH_MI_PROBE)
|
||||
#if ENABLED(Z_SAFE_HOMING)
|
||||
#if DISABLED(Z_SAFE_HOMING)
|
||||
#error "TOUCH_MI_PROBE requires Z_SAFE_HOMING."
|
||||
#elif ENABLED(TOUCH_MI_RETRACT_Z)
|
||||
#elif !defined(TOUCH_MI_RETRACT_Z)
|
||||
#error "TOUCH_MI_PROBE requires TOUCH_MI_RETRACT_Z."
|
||||
#elif defined(Z_AFTER_PROBING)
|
||||
#error "TOUCH_MI_PROBE requires Z_AFTER_PROBING to be disabled."
|
||||
|
|
Loading…
Reference in a new issue