浏览代码

Fix hotend offset on switching toolhead change

See commentary at #11623
Scott Lahteine 6 年前
父节点
当前提交
a5ea3e2f15
共有 1 个文件被更改,包括 0 次插入11 次删除
  1. 0
    11
      Marlin/src/module/tool_change.cpp

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

@@ -429,7 +429,6 @@ inline void fast_line_to_current(const AxisEnum fr_axis) {
429 429
      * 3. Unlock tool and drop it in the dock
430 430
      * 4. Move to the new toolhead
431 431
      * 5. Grab and lock the new toolhead
432
-     * 6. Apply the z-offset of the new toolhead
433 432
      */
434 433
 
435 434
     // 1. Raise Z to give enough clearance
@@ -548,16 +547,6 @@ inline void fast_line_to_current(const AxisEnum fr_axis) {
548 547
     fast_line_to_current(Y_AXIS); // move away from docked toolhead
549 548
     planner.synchronize();
550 549
 
551
-    // 6. Apply the z-offset of the new toolhead
552
-
553
-    #if HAS_HOTEND_OFFSET
554
-      current_position[Z_AXIS] += hotend_offset[Z_AXIS][active_extruder] - hotend_offset[Z_AXIS][tmp_extruder];
555
-    #endif
556
-
557
-    #if ENABLED(DEBUG_LEVELING_FEATURE)
558
-      if (DEBUGGING(LEVELING)) DEBUG_POS("(6) Apply Z offset", current_position);
559
-    #endif
560
-
561 550
     #if ENABLED(DEBUG_LEVELING_FEATURE)
562 551
       if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("Toolhead change done.");
563 552
     #endif

正在加载...
取消
保存