Fix the delta homing issue (#13001)

This commit is contained in:
Nathan authored and Scott Lahteine committed 2019-09-02 05:38:24 -05:00
1 parent a659f55cf1
commit ca36be46de
1 file changed
+5 -1
+5 -1
View File
@@ -4067,7 +4067,11 @@ inline void gcode_G4() {
#endif #endif
// Move all carriages together linearly until an endstop is hit. // Move all carriages together linearly until an endstop is hit.
current_position[X_AXIS] = current_position[Y_AXIS] = current_position[Z_AXIS] = (delta_height + 10); current_position[X_AXIS] = current_position[Y_AXIS] = current_position[Z_AXIS] = (delta_height + 10
#if HAS_BED_PROBE
- zprobe_zoffset
#endif
);
feedrate_mm_s = homing_feedrate(X_AXIS); feedrate_mm_s = homing_feedrate(X_AXIS);
buffer_line_to_current_position(); buffer_line_to_current_position();
planner.synchronize(); planner.synchronize();