mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 22:54:10 -06:00
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:
parent
72735b4552
commit
5500538fc5
7 changed files with 13 additions and 13 deletions
|
@ -20,7 +20,7 @@ class PolarKinematics:
|
|||
for s in r.get_steppers() ]
|
||||
for s in self.get_steppers():
|
||||
s.set_trapq(toolhead.get_trapq())
|
||||
toolhead.register_move_handler(s.generate_steps)
|
||||
toolhead.register_step_generator(s.generate_steps)
|
||||
# Setup boundary checks
|
||||
max_velocity, max_accel = toolhead.get_max_velocity()
|
||||
self.max_z_velocity = config.getfloat(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue