Park Magnetic Switching Toolhead at the very end (#21552)
This commit is contained in:
parent
2c73964b2b
commit
ab2441c088
|
@ -1112,7 +1112,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
|
|||
#if ENABLED(MAGNETIC_SWITCHING_TOOLHEAD)
|
||||
// If the original position is within tool store area, go to X origin at once
|
||||
if (destination.y < SWITCHING_TOOLHEAD_Y_POS + SWITCHING_TOOLHEAD_Y_CLEAR) {
|
||||
current_position.x = 0;
|
||||
current_position.x = X_MIN_POS;
|
||||
planner.buffer_line(current_position, planner.settings.max_feedrate_mm_s[X_AXIS], new_tool);
|
||||
planner.synchronize();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue