diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-06-06 18:14:45 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-06-21 22:56:16 -0400 |
commit | 80194a7e1823c2d70708767e6cdbec2780aa90b8 (patch) | |
tree | ee36d0ab052d91283c3cdec7e456103088de9a4a /klippy/stepper.py | |
parent | 0b02d7a1f236ae3b2c1cb2c8a4ce16e1788bc100 (diff) | |
download | kutter-80194a7e1823c2d70708767e6cdbec2780aa90b8.tar.gz kutter-80194a7e1823c2d70708767e6cdbec2780aa90b8.tar.xz kutter-80194a7e1823c2d70708767e6cdbec2780aa90b8.zip |
endstop_phase: Fix endstop_phase on trinamic drivers that aren't inverted
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r-- | klippy/stepper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py index 786ea2ee..29b525a9 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -73,6 +73,7 @@ class PrinterStepper: self.set_commanded_position = mcu_stepper.set_commanded_position self.get_mcu_position = mcu_stepper.get_mcu_position self.get_step_dist = mcu_stepper.get_step_dist + self.is_dir_inverted = mcu_stepper.is_dir_inverted def get_name(self, short=False): if short and self.name.startswith('stepper_'): return self.name[8:] |