From 69a1c539fb402cfd8e8f8537d372015cdbc5af53 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 29 Jul 2022 03:42:04 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Apply=20linearval=20in=20M600?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/feature/pause/M600.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Marlin/src/gcode/feature/pause/M600.cpp b/Marlin/src/gcode/feature/pause/M600.cpp index a74a81e85d..1524041d1e 100644 --- a/Marlin/src/gcode/feature/pause/M600.cpp +++ b/Marlin/src/gcode/feature/pause/M600.cpp @@ -121,12 +121,12 @@ void GcodeSuite::M600() { // Move XY axes to filament change position or given position LINEAR_AXIS_CODE( - if (parser.seenval('X')) park_point.x = parser.value_linear_units(), - if (parser.seenval('Y')) park_point.y = parser.value_linear_units(), - if (parser.seenval('Z')) park_point.z = parser.value_linear_units(), // Lift Z axis - if (parser.seenval('I')) park_point.i = parser.value_linear_units(), - if (parser.seenval('J')) park_point.j = parser.value_linear_units(), - if (parser.seenval('K')) park_point.k = parser.value_linear_units() + if (parser.seenval('X')) park_point.x = parser.linearval('X'), + if (parser.seenval('Y')) park_point.y = parser.linearval('Y'), + if (parser.seenval('Z')) park_point.z = parser.linearval('Z'), // Lift Z axis + if (parser.seenval('I')) park_point.i = parser.linearval('I'), + if (parser.seenval('J')) park_point.j = parser.linearval('J'), + if (parser.seenval('K')) park_point.k = parser.linearval('K') ); #if HAS_HOTEND_OFFSET && NONE(DUAL_X_CARRIAGE, DELTA)