Skip to content

Commit

Permalink
idex_modes: Fix get_status (Klipper3d#4550)
Browse files Browse the repository at this point in the history
Fix get_status to be called without eventtime parameter.

Signed-off-by: Fabrice GALLET <[email protected]>
  • Loading branch information
Tircown authored Aug 1, 2021
1 parent 0971a8c commit a143921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klippy/kinematics/idex_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def toggle_active_dc_rail(self, index):
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' }
Expand Down

0 comments on commit a143921

Please sign in to comment.