parent
c471389afb
commit
8c03ce4d80
@ -947,18 +947,16 @@ static_assert(1 >= 0
|
|||||||
* Make sure Z_SAFE_HOMING point is reachable
|
* Make sure Z_SAFE_HOMING point is reachable
|
||||||
*/
|
*/
|
||||||
#if ENABLED(Z_SAFE_HOMING)
|
#if ENABLED(Z_SAFE_HOMING)
|
||||||
|
#if HAS_BED_PROBE
|
||||||
#if !WITHIN(Z_SAFE_HOMING_X_POINT, MIN_PROBE_X, MAX_PROBE_X)
|
#if !WITHIN(Z_SAFE_HOMING_X_POINT, MIN_PROBE_X, MAX_PROBE_X)
|
||||||
#if HAS_BED_PROBE
|
|
||||||
#error "Z_SAFE_HOMING_X_POINT can't be reached by the Z probe."
|
#error "Z_SAFE_HOMING_X_POINT can't be reached by the Z probe."
|
||||||
#else
|
|
||||||
#error "Z_SAFE_HOMING_X_POINT can't be reached by the nozzle."
|
|
||||||
#endif
|
|
||||||
#elif !WITHIN(Z_SAFE_HOMING_Y_POINT, MIN_PROBE_Y, MAX_PROBE_Y)
|
#elif !WITHIN(Z_SAFE_HOMING_Y_POINT, MIN_PROBE_Y, MAX_PROBE_Y)
|
||||||
#if HAS_BED_PROBE
|
|
||||||
#error "Z_SAFE_HOMING_Y_POINT can't be reached by the Z probe."
|
#error "Z_SAFE_HOMING_Y_POINT can't be reached by the Z probe."
|
||||||
#else
|
|
||||||
#error "Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle."
|
|
||||||
#endif
|
#endif
|
||||||
|
#elif !WITHIN(Z_SAFE_HOMING_X_POINT, X_MIN_POS, X_MAX_POS)
|
||||||
|
#error "Z_SAFE_HOMING_X_POINT can't be reached by the nozzle."
|
||||||
|
#elif !WITHIN(Z_SAFE_HOMING_Y_POINT, Y_MIN_POS, Y_MAX_POS)
|
||||||
|
#error "Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle."
|
||||||
#endif
|
#endif
|
||||||
#endif // Z_SAFE_HOMING
|
#endif // Z_SAFE_HOMING
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user