Fix #6691 - redundant line in M665
This commit is contained in:
parent
ba29da56e0
commit
0e582bcfb7
@ -7623,7 +7623,6 @@ inline void gcode_M205() {
|
|||||||
if (code_seen('H')) {
|
if (code_seen('H')) {
|
||||||
home_offset[Z_AXIS] = code_value_linear_units() - DELTA_HEIGHT;
|
home_offset[Z_AXIS] = code_value_linear_units() - DELTA_HEIGHT;
|
||||||
current_position[Z_AXIS] += code_value_linear_units() - DELTA_HEIGHT - home_offset[Z_AXIS];
|
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);
|
update_software_endstops(Z_AXIS);
|
||||||
}
|
}
|
||||||
if (code_seen('L')) delta_diagonal_rod = code_value_linear_units();
|
if (code_seen('L')) delta_diagonal_rod = code_value_linear_units();
|
||||||
|
Loading…
Reference in New Issue
Block a user