|
|
|
@ -353,10 +353,23 @@
|
|
|
|
|
#error "AUTO_BED_LEVELING_FEATURE requires a probe! Define a Z Servo, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
|
|
|
|
|
#elif ENABLED(Z_MIN_PROBE_REPEATABILITY_TEST)
|
|
|
|
|
#error "Z_MIN_PROBE_REPEATABILITY_TEST requires a probe! Define a Z Servo, Z_PROBE_ALLEN_KEY, Z_PROBE_SLED, or FIX_MOUNTED_PROBE."
|
|
|
|
|
#elif ENABLED(Z_SAFE_HOMING)
|
|
|
|
|
#error "Z_SAFE_HOMING currently requires a probe."
|
|
|
|
|
#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
|
|
|
|
|
*/
|
|
|
|
|