From a143921534e6d1ba1e62f7dafe185a97f0e7f9a2 Mon Sep 17 00:00:00 2001 From: Tircown <74233386+Tircown@users.noreply.github.com> Date: Sun, 1 Aug 2021 21:10:45 +0200 Subject: [PATCH] idex_modes: Fix get_status (#4550) Fix get_status to be called without eventtime parameter. Signed-off-by: Fabrice GALLET --- klippy/kinematics/idex_modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/kinematics/idex_modes.py b/klippy/kinematics/idex_modes.py index 92cb39a3..1ca79c86 100644 --- a/klippy/kinematics/idex_modes.py +++ b/klippy/kinematics/idex_modes.py @@ -33,7 +33,7 @@ class DualCarriages: kin.override_rail(self.axis, dc_rail) toolhead.set_position(newpos) kin.update_limits(self.axis, dc_rail.get_range()) - def get_status(self, eventtime): + def get_status(self, eventtime=None): dc0, dc1 = self.dc if (dc0.is_active() is True): return { 'mode': 'FULL_CONTROL', 'active_carriage': 'CARRIAGE_0' }