Browse Source

Fix #6691 - redundant line in M665

Scott Lahteine 8 years ago
parent
commit
0e582bcfb7
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      Marlin/Marlin_main.cpp

+ 0
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save