Fix Z height after tool change (#18951)

This commit is contained in:
cbaugher 2020-08-07 18:06:25 -05:00 committed by GitHub
parent f2f1d8fa21
commit 7b2f7a94fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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