mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 21:27:53 -06:00
endstop_phase: Fix endstop_phase on trinamic drivers that aren't inverted
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
0b02d7a1f2
commit
80194a7e18
4 changed files with 6 additions and 1 deletions
|
@ -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:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue