aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/homing.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-08-24 16:42:25 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-08-24 16:42:25 -0400
commite52113a319d460489ebd26867dbe85446f0a4f15 (patch)
tree6da748c65e0c1dc80c151c401b08e666f81f8300 /klippy/homing.py
parent11ecac626d754d83c03be6ca15225008ad0e504c (diff)
downloadkutter-e52113a319d460489ebd26867dbe85446f0a4f15.tar.gz
kutter-e52113a319d460489ebd26867dbe85446f0a4f15.tar.xz
kutter-e52113a319d460489ebd26867dbe85446f0a4f15.zip
mcu: convert stepper, endstop, and digital_out to take mcu_time
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r--klippy/homing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/klippy/homing.py b/klippy/homing.py
index 8bcf4a24..8670c45a 100644
--- a/klippy/homing.py
+++ b/klippy/homing.py
@@ -47,8 +47,7 @@ class Homing:
# Start homing and issue move
print_time = self.toolhead.get_last_move_time()
for s in steppers:
- hz = speed * s.inv_step_dist
- es = s.enable_endstop_checking(print_time, hz)
+ es = s.enable_endstop_checking(print_time, s.step_dist / speed)
self.endstops.append(es)
self.toolhead.move(self.fill_coord(movepos), speed)
self.toolhead.reset_print_time()