diff options
Diffstat (limited to 'klippy/kinematics/delta.py')
-rw-r--r-- | klippy/kinematics/delta.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/klippy/kinematics/delta.py b/klippy/kinematics/delta.py index 4c5076f7..06c72456 100644 --- a/klippy/kinematics/delta.py +++ b/klippy/kinematics/delta.py @@ -13,13 +13,13 @@ class DeltaKinematics: def __init__(self, toolhead, config): # Setup tower rails stepper_configs = [config.getsection('stepper_' + a) for a in 'abc'] - rail_a = stepper.PrinterRail( + rail_a = stepper.LookupMultiRail( stepper_configs[0], need_position_minmax = False) a_endstop = rail_a.get_homing_info().position_endstop - rail_b = stepper.PrinterRail( + rail_b = stepper.LookupMultiRail( stepper_configs[1], need_position_minmax = False, default_position_endstop=a_endstop) - rail_c = stepper.PrinterRail( + rail_c = stepper.LookupMultiRail( stepper_configs[2], need_position_minmax = False, default_position_endstop=a_endstop) self.rails = [rail_a, rail_b, rail_c] |