Browse Source

Tweak partial homing code

Scott Lahteine 9 years ago
parent
commit
d36d4edd80
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

1891
         }
1891
         }
1892
 
1892
 
1893
       // Partially Home X,Y for safety
1893
       // Partially Home X,Y for safety
1894
-      destination[X_AXIS] = destination[X_AXIS] * 0.75;
1895
-      destination[Y_AXIS] = destination[Y_AXIS] * 0.75;
1894
+      destination[X_AXIS] *= 0.75;
1895
+      destination[Y_AXIS] *= 0.75;
1896
       prepare_move_to_destination_raw(); // this will also set_current_to_destination
1896
       prepare_move_to_destination_raw(); // this will also set_current_to_destination
1897
 
1897
 
1898
       feedrate = old_feedrate;
1898
       feedrate = old_feedrate;

Loading…
Cancel
Save