Pārlūkot izejas kodu

Fix FWRETRACT un-hop

Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
1b09733e7c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp Parādīt failu

@@ -3255,7 +3255,7 @@ static void homeaxis(const AxisEnum axis) {
3255 3255
     else {
3256 3256
       // If a hop was done and Z hasn't changed, undo the Z hop
3257 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 3259
         SYNC_PLAN_POSITION_KINEMATIC();                     // Set the planner to the new position
3260 3260
         feedrate_mm_s = planner.max_feedrate_mm_s[Z_AXIS];  // Z feedrate to max
3261 3261
         prepare_move_to_destination();                      // Raise up to the old current pos

Notiek ielāde…
Atcelt
Saglabāt