toolhead: Rename register_move_handler() to register_step_generator()
Rename the function so it is more clear what the step generation code path is. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -21,7 +21,7 @@ class WinchKinematics:
|
||||
self.anchors.append(a)
|
||||
s.setup_itersolve('winch_stepper_alloc', *a)
|
||||
s.set_trapq(toolhead.get_trapq())
|
||||
toolhead.register_move_handler(s.generate_steps)
|
||||
toolhead.register_step_generator(s.generate_steps)
|
||||
# Setup stepper max halt velocity
|
||||
max_velocity, max_accel = toolhead.get_max_velocity()
|
||||
max_halt_velocity = toolhead.get_max_axis_halt()
|
||||
|
||||
Reference in New Issue
Block a user