Browse Source

Allow a home bump of 0 when homing Z with probe

pull/1/head
Scott Lahteine 7 years ago
parent
commit
7546f87949
  1. 2
      Marlin/src/module/motion.cpp

2
Marlin/src/module/motion.cpp

@ -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…
Cancel
Save