polar: Convert step generation to use trapq system

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-10-28 23:13:58 -04:00
parent 351b565728
commit 4b5cbc18a4
2 changed files with 5 additions and 21 deletions

View file

@ -54,5 +54,6 @@ polar_stepper_alloc(char type)
sk->calc_position_cb = polar_stepper_angle_calc_position;
sk->post_cb = polar_stepper_angle_post_fixup;
}
sk->active_flags = AF_X | AF_Y;
return sk;
}