Browse Source

Fix Tool Change Park (#22968)

InsanityAutomation 2 years ago
parent
commit
d2b0939118
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

@@ -954,7 +954,7 @@ void fast_line_to_current(const AxisEnum fr_axis) { _line_to_current(fr_axis, 0.
954 954
           #if ENABLED(TOOLCHANGE_NO_RETURN)
955 955
             const float temp = destination.z;
956 956
             destination = current_position;
957
-            destination.z = temp.z;
957
+            destination.z = temp;
958 958
           #endif
959 959
           prepare_internal_move_to_destination(TERN(TOOLCHANGE_NO_RETURN, planner.settings.max_feedrate_mm_s[Z_AXIS], MMM_TO_MMS(TOOLCHANGE_PARK_XY_FEEDRATE)));
960 960
         }

Loading…
Cancel
Save