Browse Source

Allow a home bump of 0 when homing Z with probe

Scott Lahteine 7 years ago
parent
commit
7546f87949
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/motion.cpp

+ 1
- 1
Marlin/src/module/motion.cpp View File

@@ -1294,7 +1294,7 @@ void homeaxis(const AxisEnum axis) {
1294 1294
   // When homing Z with probe respect probe clearance
1295 1295
   const float bump = axis_home_dir * (
1296 1296
     #if HOMING_Z_WITH_PROBE
1297
-      (axis == Z_AXIS) ? max(Z_CLEARANCE_BETWEEN_PROBES, home_bump_mm(Z_AXIS)) :
1297
+      (axis == Z_AXIS && Z_HOME_BUMP_MM) ? max(Z_CLEARANCE_BETWEEN_PROBES, home_bump_mm(Z_AXIS)) :
1298 1298
     #endif
1299 1299
     home_bump_mm(axis)
1300 1300
   );

Loading…
Cancel
Save