diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-01-29 19:13:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-02-10 13:24:21 -0500 |
commit | 9ec97424844c76bbc0c5604e15aa195282b6c955 (patch) | |
tree | ff05667b33edfff52b86768ed962e5c0f4e597df /klippy/extras/motion_report.py | |
parent | 189188e3ca3e40d8272fb4ad48316e329f8ec453 (diff) | |
download | kutter-9ec97424844c76bbc0c5604e15aa195282b6c955.tar.gz kutter-9ec97424844c76bbc0c5604e15aa195282b6c955.tar.xz kutter-9ec97424844c76bbc0c5604e15aa195282b6c955.zip |
extruder: Add support for reversing the direction of extruder stepper movement
Extend SET_EXTRUDER_ROTATION_DISTANCE to support reversing the
direction of extruder movement.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/motion_report.py')
-rw-r--r-- | klippy/extras/motion_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/motion_report.py b/klippy/extras/motion_report.py index 10cf3583..34fc455d 100644 --- a/klippy/extras/motion_report.py +++ b/klippy/extras/motion_report.py @@ -139,7 +139,7 @@ class DumpStepper: mcu_pos = first.start_position start_position = self.mcu_stepper.mcu_to_commanded_position(mcu_pos) step_dist = self.mcu_stepper.get_step_dist() - if self.mcu_stepper.is_dir_inverted(): + if self.mcu_stepper.get_dir_inverted()[0]: step_dist = -step_dist d = [(s.interval, s.step_count, s.add) for s in data] return {"data": d, "start_position": start_position, |