Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndere1 committed Apr 20, 2024
1 parent 40f3138 commit 8be5df5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Marlin/src/module/tool_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
(void)check_tool_sensor_stats(active_extruder);

// 3. Move to the new toolhead

current_position.x = SUM_TERN(HAS_HOTEND_OFFSET, grabxpos, hotend_offset[active_extruder].x);

DEBUG_SYNCHRONIZE();
Expand All @@ -611,6 +612,7 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
fast_line_to_current(X_AXIS);

// 4. Grab and lock the new toolhead

#if defined(SWITCHING_TOOLHEAD_Z_CLEAR)
current_position.z = SUM_TERN(HAS_HOTEND_OFFSET, SWITCHING_TOOLHEAD_Z_POS, hotend_offset[active_extruder].z);

Expand Down Expand Up @@ -692,6 +694,7 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
DEBUG_POS("Start MST Tool-Change", current_position);

// 1. Move to switch position current toolhead

current_position.y = SWITCHING_TOOLHEAD_Y_POS + SWITCHING_TOOLHEAD_Y_CLEAR;

SERIAL_ECHOLNPGM("(1) Place old tool ", active_extruder);
Expand Down

0 comments on commit 8be5df5

Please sign in to comment.