Browse Source

Fix FWRETRACT un-hop

Scott Lahteine 6 years ago
parent
commit
1b09733e7c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

3255
     else {
3255
     else {
3256
       // If a hop was done and Z hasn't changed, undo the Z hop
3256
       // If a hop was done and Z hasn't changed, undo the Z hop
3257
       if (hop_amount) {
3257
       if (hop_amount) {
3258
-        current_position[Z_AXIS] -= retract_zlift;          // Pretend current pos is lower. Next move raises Z.
3258
+        current_position[Z_AXIS] += retract_zlift;          // Pretend current pos is lower. Next move raises Z.
3259
         SYNC_PLAN_POSITION_KINEMATIC();                     // Set the planner to the new position
3259
         SYNC_PLAN_POSITION_KINEMATIC();                     // Set the planner to the new position
3260
         feedrate_mm_s = planner.max_feedrate_mm_s[Z_AXIS];  // Z feedrate to max
3260
         feedrate_mm_s = planner.max_feedrate_mm_s[Z_AXIS];  // Z feedrate to max
3261
         prepare_move_to_destination();                      // Raise up to the old current pos
3261
         prepare_move_to_destination();                      // Raise up to the old current pos

Loading…
Cancel
Save