Skip to content

Commit

Permalink
Fix Tool Change Park (MarlinFirmware#22968)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored and Darred committed Dec 1, 2021
1 parent 71209dc commit c6f3ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/tool_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
Expand Down

0 comments on commit c6f3ff9

Please sign in to comment.