Skip to content

Commit

Permalink
Fix Z height after tool change (MarlinFirmware#18951)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaugher authored and albertogg committed Aug 31, 2020
1 parent eae298e commit 5ec35bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/module/tool_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,8 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
#if ENABLED(TOOLCHANGE_PARK)
if (toolchange_settings.enable_park) do_blocking_move_to_xy_z(destination, destination.z, MMM_TO_MMS(TOOLCHANGE_PARK_XY_FEEDRATE));
#else
do_blocking_move_to_xy(destination);
do_blocking_move_to_xy(destination, planner.settings.max_feedrate_mm_s[X_AXIS]);
do_blocking_move_to_z(destination, planner.settings.max_feedrate_mm_s[Z_AXIS]);
#endif

#endif
Expand Down

0 comments on commit 5ec35bf

Please sign in to comment.