浏览代码

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

Radim Karniš 4 年前
父节点
当前提交
d61bc2d136
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/module/tool_change.cpp

+ 1
- 1
Marlin/src/module/tool_change.cpp 查看文件

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

正在加载...
取消
保存