Fix Z height after tool change (#18951)

This commit is contained in:
cbaugher 2020-08-07 18:06:25 -05:00 committed by Scott Lahteine
parent 8d6a263c1c
commit 7a8e99de7d

View file

@ -1132,7 +1132,8 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
#if ENABLED(TOOLCHANGE_PARK) #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)); if (toolchange_settings.enable_park) do_blocking_move_to_xy_z(destination, destination.z, MMM_TO_MMS(TOOLCHANGE_PARK_XY_FEEDRATE));
#else #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
#endif #endif