mirror of https://github.com/Desuuuu/klipper.git
idex_modes: Fix get_status (#4550)
Fix get_status to be called without eventtime parameter. Signed-off-by: Fabrice GALLET <tircown@gmail.com>
This commit is contained in:
parent
0971a8c2e1
commit
a143921534
|
@ -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' }
|
||||
|
|
Loading…
Reference in New Issue