force_move: No need to pass 4 parameters to toolhead.set_position()

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2025-05-12 20:15:03 -04:00
1 parent ae536b4786
commit 9dbfc76d9d
1 file changed
+1 -1
+1 -1
View File
@@ -142,7 +142,7 @@ class ForceMove:
logging.info("SET_KINEMATIC_POSITION pos=%.3f,%.3f,%.3f"
" set_homed=%s clear_homed=%s",
x, y, z, set_homed_axes, clear_homed_axes)
toolhead.set_position([x, y, z, curpos[3]], homing_axes=set_homed_axes)
toolhead.set_position([x, y, z], homing_axes=set_homed_axes)
toolhead.get_kinematics().clear_homing_state(clear_homed_axes)
def load_config(config):