mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-19 16:16:13 +00:00
Fix Tool Change Park (#22968)
This commit is contained in:
parent
61b574f2ce
commit
1112d66fef
1 changed files with 1 additions and 1 deletions
|
@ -954,7 +954,7 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
|
|||
#if ENABLED(TOOLCHANGE_NO_RETURN)
|
||||
const float temp = destination.z;
|
||||
destination = current_position;
|
||||
destination.z = temp.z;
|
||||
destination.z = temp;
|
||||
#endif
|
||||
prepare_internal_move_to_destination(TERN(TOOLCHANGE_NO_RETURN, planner.settings.max_feedrate_mm_s[Z_AXIS], MMM_TO_MMS(TOOLCHANGE_PARK_XY_FEEDRATE)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue