From 80194a7e1823c2d70708767e6cdbec2780aa90b8 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 6 Jun 2019 18:14:45 -0400 Subject: endstop_phase: Fix endstop_phase on trinamic drivers that aren't inverted Signed-off-by: Kevin O'Connor --- klippy/stepper.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/stepper.py') 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:] -- cgit v1.2.3-70-g09d2