Browse Source

Park Magnetic Switching Toolhead at the very end (#21552)

Radim Karniš 4 years ago
parent
commit
d61bc2d136
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/tool_change.cpp

+ 1
- 1
Marlin/src/module/tool_change.cpp View File

@@ -1112,7 +1112,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
1112 1112
         #if ENABLED(MAGNETIC_SWITCHING_TOOLHEAD)
1113 1113
           // If the original position is within tool store area, go to X origin at once
1114 1114
           if (destination.y < SWITCHING_TOOLHEAD_Y_POS + SWITCHING_TOOLHEAD_Y_CLEAR) {
1115
-            current_position.x = 0;
1115
+            current_position.x = X_MIN_POS;
1116 1116
             planner.buffer_line(current_position, planner.settings.max_feedrate_mm_s[X_AXIS], new_tool);
1117 1117
             planner.synchronize();
1118 1118
           }

Loading…
Cancel
Save