diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-24 13:54:46 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-24 13:54:46 -0400 |
commit | 143b7cccf4bb170fa6a78d88da9d061487288792 (patch) | |
tree | 50a290c028f2604b66c88e343613d2afd6dcebd1 /klippy/corexy.py | |
parent | 8ce042bf04aca923460d7ed37fa938e11378f917 (diff) | |
download | kutter-143b7cccf4bb170fa6a78d88da9d061487288792.tar.gz kutter-143b7cccf4bb170fa6a78d88da9d061487288792.tar.xz kutter-143b7cccf4bb170fa6a78d88da9d061487288792.zip |
stepper: Separate out homing code to its own PrinterHomingStepper class
Keep the homing code separate from the main stepper class. This makes
it easier to verify the correct config parameters are provided.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/corexy.py')
-rw-r--r-- | klippy/corexy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/corexy.py b/klippy/corexy.py index d429496c..1fdfa817 100644 --- a/klippy/corexy.py +++ b/klippy/corexy.py @@ -10,7 +10,7 @@ StepList = (0, 1, 2) class CoreXYKinematics: def __init__(self, printer, config): - self.steppers = [stepper.PrinterStepper( + self.steppers = [stepper.PrinterHomingStepper( printer, config.getsection('stepper_' + n), n) for n in ['x', 'y', 'z']] self.steppers[0].mcu_endstop.add_stepper(self.steppers[1].mcu_stepper) |