Radim Karniš
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/module/tool_change.cpp
|
|
@ -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(); |
|
|
|
} |
|
|
|