Sanitycheck: Z_SAFE_HOMING points are reachable
This commit is contained in:
parent
a6203366b6
commit
d6c50671d3
|
@ -359,6 +359,17 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Make sure Z_SAFE_HOMING point is reachable
|
||||||
|
*/
|
||||||
|
#if ENABLED(Z_SAFE_HOMING)
|
||||||
|
#if Z_SAFE_HOMING_X_POINT < MIN_PROBE_X || Z_SAFE_HOMING_X_POINT > MAX_PROBE_X
|
||||||
|
#error "The given Z_SAFE_HOMING_X_POINT can't be reached by the Z probe."
|
||||||
|
#elif Z_SAFE_HOMING_Y_POINT < MIN_PROBE_Y || Z_SAFE_HOMING_Y_POINT > MAX_PROBE_Y
|
||||||
|
#error "The given Z_SAFE_HOMING_Y_POINT can't be reached by the Z probe."
|
||||||
|
#endif
|
||||||
|
#endif // Z_SAFE_HOMING
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auto Bed Leveling
|
* Auto Bed Leveling
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue