🩹 Apply linearval in M600

This commit is contained in:
Scott Lahteine 2022-07-29 03:42:04 -05:00
parent 0a4aa0978d
commit 2bb9a5ee5e

View file

@ -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)