🔧 Sanity check Z_CLEARANCE_FOR_HOMING (#26721)
This commit is contained in:
parent
f1a53407e7
commit
d79bcef802
|
@ -1725,6 +1725,13 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
|
|||
static_assert(WITHIN(Z_SAFE_HOMING_Y_POINT, Y_MIN_POS, Y_MAX_POS), "Z_SAFE_HOMING_Y_POINT can't be reached by the nozzle.");
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Make sure Z_CLEARANCE_FOR_HOMING is below Z_MAX_POS
|
||||
*/
|
||||
#if HAS_Z_AXIS
|
||||
static_assert(Z_CLEARANCE_FOR_HOMING <= Z_MAX_POS, "Z_CLEARANCE_FOR_HOMING must be smaller than or equal to Z_MAX_POS.");
|
||||
#endif
|
||||
|
||||
// Check Safe Bed Leveling settings
|
||||
#if HAS_SAFE_BED_LEVELING
|
||||
#if defined(SAFE_BED_LEVELING_START_Y) && !defined(SAFE_BED_LEVELING_START_X)
|
||||
|
|
Loading…
Reference in a new issue