Browse Source

Fix/improve backoff feedrates (#15300)

Jason Smith 4 years ago
parent
commit
252f31b6f1
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      Marlin/src/module/motion.cpp

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

@@ -1658,7 +1658,12 @@ void homeaxis(const AxisEnum axis) {
1658 1658
     ];
1659 1659
     if (backoff_mm) {
1660 1660
       current_position[axis] -= ABS(backoff_mm) * axis_home_dir;
1661
-      line_to_current_position(Z_PROBE_SPEED_FAST);
1661
+      line_to_current_position(
1662
+        #if HOMING_Z_WITH_PROBE
1663
+          (axis == Z_AXIS) ? MMM_TO_MMS(Z_PROBE_SPEED_FAST) :
1664
+        #endif
1665
+        homing_feedrate(axis)
1666
+      );
1662 1667
     }
1663 1668
   #endif
1664 1669
 

Loading…
Cancel
Save