mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 20:18:07 +09:00
mcu: convert stepper, endstop, and digital_out to take mcu_time
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user