Fix #6691 - redundant line in M665

This commit is contained in:
Scott Lahteine 2017-05-12 05:17:38 -05:00
parent ba29da56e0
commit 0e582bcfb7

View file

@ -7623,7 +7623,6 @@ inline void gcode_M205() {
if (code_seen('H')) {
home_offset[Z_AXIS] = code_value_linear_units() - DELTA_HEIGHT;
current_position[Z_AXIS] += code_value_linear_units() - DELTA_HEIGHT - home_offset[Z_AXIS];
home_offset[Z_AXIS] = code_value_linear_units() - DELTA_HEIGHT;
update_software_endstops(Z_AXIS);
}
if (code_seen('L')) delta_diagonal_rod = code_value_linear_units();