Browse Source

No move on Park = No move on Resume (#19569)

Ilya 4 years ago
parent
commit
cc123bc657
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      Marlin/src/feature/pause.cpp

+ 6
- 4
Marlin/src/feature/pause.cpp View File

@@ -612,11 +612,13 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
612 612
   // Retract to prevent oozing
613 613
   unscaled_e_move(-(PAUSE_PARK_RETRACT_LENGTH), feedRate_t(PAUSE_PARK_RETRACT_FEEDRATE));
614 614
 
615
-  // Move XY to starting position, then Z
616
-  do_blocking_move_to_xy(resume_position, feedRate_t(NOZZLE_PARK_XY_FEEDRATE));
615
+  if (!axes_should_home()) {
616
+    // Move XY to starting position, then Z
617
+    do_blocking_move_to_xy(resume_position, feedRate_t(NOZZLE_PARK_XY_FEEDRATE));
617 618
 
618
-  // Move Z_AXIS to saved position
619
-  do_blocking_move_to_z(resume_position.z, feedRate_t(NOZZLE_PARK_Z_FEEDRATE));
619
+    // Move Z_AXIS to saved position
620
+    do_blocking_move_to_z(resume_position.z, feedRate_t(NOZZLE_PARK_Z_FEEDRATE));
621
+  }
620 622
 
621 623
   // Unretract
622 624
   unscaled_e_move(PAUSE_PARK_RETRACT_LENGTH, feedRate_t(PAUSE_PARK_RETRACT_FEEDRATE));

Loading…
Cancel
Save