瀏覽代碼

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
           }

Loading…
取消
儲存