From 143b7cccf4bb170fa6a78d88da9d061487288792 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 24 Jul 2017 13:54:46 -0400 Subject: 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 --- klippy/cartesian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/cartesian.py') diff --git a/klippy/cartesian.py b/klippy/cartesian.py index f69855f6..d1747e6e 100644 --- a/klippy/cartesian.py +++ b/klippy/cartesian.py @@ -10,7 +10,7 @@ StepList = (0, 1, 2) class CartKinematics: 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.max_z_velocity = config.getfloat( -- cgit v1.2.3-70-g09d2