aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/cartesian.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-07-24 13:54:46 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-07-24 13:54:46 -0400
commit143b7cccf4bb170fa6a78d88da9d061487288792 (patch)
tree50a290c028f2604b66c88e343613d2afd6dcebd1 /klippy/cartesian.py
parent8ce042bf04aca923460d7ed37fa938e11378f917 (diff)
downloadkutter-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/cartesian.py')
-rw-r--r--klippy/cartesian.py2
1 files changed, 1 insertions, 1 deletions
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(