aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepper.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/stepper.py')
-rw-r--r--klippy/stepper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/klippy/stepper.py b/klippy/stepper.py
index 0e415bad..1d1b6adb 100644
--- a/klippy/stepper.py
+++ b/klippy/stepper.py
@@ -119,8 +119,7 @@ class MCU_stepper:
ffi_main, ffi_lib = chelper.get_ffi()
pos = ffi_lib.stepcompress_find_past_position(self._stepqueue, clock)
return int(pos)
- def get_past_commanded_position(self, print_time):
- mcu_pos = self.get_past_mcu_position(print_time)
+ def mcu_to_commanded_position(self, mcu_pos):
return mcu_pos * self._step_dist - self._mcu_position_offset
def dump_steps(self, count, start_clock, end_clock):
ffi_main, ffi_lib = chelper.get_ffi()