Fix/improve backoff feedrates (#15300)

This commit is contained in:
Jason Smith 2019-09-18 15:04:13 -07:00 committed by Scott Lahteine
parent bcf630d8d1
commit 252f31b6f1

View file

@ -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