Scott Lahteine 6 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить