Allow a home bump of 0 when homing Z with probe
This commit is contained in:
parent
d470a1234f
commit
7546f87949
@ -1294,7 +1294,7 @@ void homeaxis(const AxisEnum axis) {
|
|||||||
// When homing Z with probe respect probe clearance
|
// When homing Z with probe respect probe clearance
|
||||||
const float bump = axis_home_dir * (
|
const float bump = axis_home_dir * (
|
||||||
#if HOMING_Z_WITH_PROBE
|
#if HOMING_Z_WITH_PROBE
|
||||||
(axis == Z_AXIS) ? max(Z_CLEARANCE_BETWEEN_PROBES, home_bump_mm(Z_AXIS)) :
|
(axis == Z_AXIS && Z_HOME_BUMP_MM) ? max(Z_CLEARANCE_BETWEEN_PROBES, home_bump_mm(Z_AXIS)) :
|
||||||
#endif
|
#endif
|
||||||
home_bump_mm(axis)
|
home_bump_mm(axis)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user