|
|
@ -954,11 +954,11 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
|
|
|
|
#if ENABLED(TOOLCHANGE_PARK)
|
|
|
|
#if ENABLED(TOOLCHANGE_PARK)
|
|
|
|
if (ok) {
|
|
|
|
if (ok) {
|
|
|
|
#if ENABLED(TOOLCHANGE_NO_RETURN)
|
|
|
|
#if ENABLED(TOOLCHANGE_NO_RETURN)
|
|
|
|
destination.set(current_position.x, current_position.y);
|
|
|
|
const float temp = destination.z;
|
|
|
|
prepare_internal_move_to_destination(planner.settings.max_feedrate_mm_s[Z_AXIS]);
|
|
|
|
destination = current_position;
|
|
|
|
#else
|
|
|
|
destination.z = temp.z;
|
|
|
|
prepare_internal_move_to_destination(MMM_TO_MMS(TOOLCHANGE_PARK_XY_FEEDRATE));
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#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)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|