Bladeren bron

Merge pull request #8270 from studiodyne/studiodyne-fw

 fwretract bug/mistake + suggestion
Scott Lahteine 7 jaren geleden
bovenliggende
commit
2e33c3bdc2
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      Marlin/src/feature/fwretract.cpp

+ 1
- 1
Marlin/src/feature/fwretract.cpp Bestand weergeven

@@ -153,7 +153,7 @@ void FWRetract::retract(const bool retracting
153 153
   else {
154 154
     // If a hop was done and Z hasn't changed, undo the Z hop
155 155
     if (hop_amount) {
156
-      current_position[Z_AXIS] -= retract_zlift;          // Pretend current pos is lower. Next move raises Z.
156
+      current_position[Z_AXIS] += retract_zlift;          // Pretend current pos is lower. Next move raises Z.
157 157
       SYNC_PLAN_POSITION_KINEMATIC();                     // Set the planner to the new position
158 158
       feedrate_mm_s = planner.max_feedrate_mm_s[Z_AXIS];  // Z feedrate to max
159 159
       prepare_move_to_destination();                      // Raise up to the old current pos

Laden…
Annuleren
Opslaan