|
@@ -1827,7 +1827,7 @@ inline void gcode_G28() {
|
1827
|
1827
|
// Raise Z before homing any other axes
|
1828
|
1828
|
if (home_all_axis || homeZ) {
|
1829
|
1829
|
destination[Z_AXIS] = -Z_RAISE_BEFORE_HOMING * home_dir(Z_AXIS); // Set destination away from bed
|
1830
|
|
- feedrate = max_feedrate[Z_AXIS];
|
|
1830
|
+ feedrate = max_feedrate[Z_AXIS] * 60;
|
1831
|
1831
|
line_to_destination();
|
1832
|
1832
|
st_synchronize();
|
1833
|
1833
|
}
|
|
@@ -1960,7 +1960,7 @@ inline void gcode_G28() {
|
1960
|
1960
|
current_position[Z_AXIS] = 0;
|
1961
|
1961
|
plan_set_position(cpx, cpy, 0, current_position[E_AXIS]);
|
1962
|
1962
|
destination[Z_AXIS] = -Z_RAISE_BEFORE_HOMING * home_dir(Z_AXIS); // Set destination away from bed
|
1963
|
|
- feedrate = max_feedrate[Z_AXIS];
|
|
1963
|
+ feedrate = max_feedrate[Z_AXIS] * 60; // max_feedrate is in mm/s. line_to_destination is feedrate/60.
|
1964
|
1964
|
line_to_destination();
|
1965
|
1965
|
st_synchronize();
|
1966
|
1966
|
HOMEAXIS(Z);
|