Allow a home bump of 0 when homing Z with probe
This commit is contained in:
parent
b4ddee8beb
commit
94b8eac6d0
@ -3086,7 +3086,7 @@ static 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