|
@@ -2032,12 +2032,10 @@ inline void gcode_G28() {
|
2032
|
2032
|
if (home_all_axis || homeZ) {
|
2033
|
2033
|
// Raise Z before homing Z? Shouldn't this happen before homing X or Y?
|
2034
|
2034
|
#if defined(Z_RAISE_BEFORE_HOMING) && Z_RAISE_BEFORE_HOMING > 0
|
2035
|
|
- #ifndef Z_PROBE_AND_ENDSTOP
|
2036
|
2035
|
destination[Z_AXIS] = -Z_RAISE_BEFORE_HOMING * home_dir(Z_AXIS); // Set destination away from bed
|
2037
|
2036
|
feedrate = max_feedrate[Z_AXIS];
|
2038
|
2037
|
line_to_destination();
|
2039
|
2038
|
st_synchronize();
|
2040
|
|
- #endif
|
2041
|
2039
|
#endif
|
2042
|
2040
|
HOMEAXIS(Z);
|
2043
|
2041
|
}
|