Browse Source

Fix Touch-MI sanity checks (#14316)

pull/1/head
sensei73 5 years ago
committed by Scott Lahteine
parent
commit
ce5f94c8f4
  1. 4
      Marlin/src/inc/SanityCheck.h

4
Marlin/src/inc/SanityCheck.h

@ -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…
Cancel
Save