Bladeren bron

Correct some retract() comments

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

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

@@ -153,10 +153,10 @@ 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 higher. Next move lowers 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
-      prepare_move_to_destination();                      // Raise up to the old current pos
159
+      prepare_move_to_destination();                      // Lower down to the old current pos
160 160
       hop_amount = 0.0;                                   // Clear hop
161 161
     }
162 162
 

Laden…
Annuleren
Opslaan