소스 검색

Fix FWRETRACT un-hop

Scott Lahteine 6 년 전
부모
커밋
1b09733e7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 파일 보기

@@ -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

Loading…
취소
저장