Browse Source

Fix/improve backoff feedrates (#15300)

pull/1/head
Jason Smith 5 years ago
committed by Scott Lahteine
parent
commit
252f31b6f1
  1. 7
      Marlin/src/module/motion.cpp

7
Marlin/src/module/motion.cpp

@ -1658,7 +1658,12 @@ void homeaxis(const AxisEnum axis) {
]; ];
if (backoff_mm) { if (backoff_mm) {
current_position[axis] -= ABS(backoff_mm) * axis_home_dir; current_position[axis] -= ABS(backoff_mm) * axis_home_dir;
line_to_current_position(Z_PROBE_SPEED_FAST); line_to_current_position(
#if HOMING_Z_WITH_PROBE
(axis == Z_AXIS) ? MMM_TO_MMS(Z_PROBE_SPEED_FAST) :
#endif
homing_feedrate(axis)
);
} }
#endif #endif

Loading…
Cancel
Save