1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

Fix Tool Change Park (#22968)

This commit is contained in:
InsanityAutomation 2021-10-18 02:01:28 -04:00 committed by GitHub
parent 741e70541d
commit d2b0939118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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