Skip to content

Commit 8e20a46

Browse files
xorzavgadreau
authored andcommitted
No move on Park = No move on Resume (MarlinFirmware#19569)
1 parent 04614a6 commit 8e20a46

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Marlin/src/feature/pause.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,13 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
612612
// Retract to prevent oozing
613613
unscaled_e_move(-(PAUSE_PARK_RETRACT_LENGTH), feedRate_t(PAUSE_PARK_RETRACT_FEEDRATE));
614614

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));
617618

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+
}
620622

621623
// Unretract
622624
unscaled_e_move(PAUSE_PARK_RETRACT_LENGTH, feedRate_t(PAUSE_PARK_RETRACT_FEEDRATE));

0 commit comments

Comments
 (0)