klipper/klippy/chelper
Kevin O'Connor 5ca132eafa stepcompress: Fix rounding error when interval=0
In the rare case where the step generation code finds an interval of
zero, it was possible for an integer division of a negative number to
cause an incorrect result.  Fix that by using the idiv_up() and
idiv_down() helpers.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-01-25 14:20:44 -05:00
..
__init__.py
compiler.h
itersolve.c
itersolve.h
kin_cartesian.c
kin_corexy.c
kin_delta.c
kin_extruder.c
kin_polar.c
kin_rotary_delta.c
kin_winch.c
list.h
pyhelper.c
pyhelper.h
serialqueue.c
serialqueue.h
stepcompress.c
stepcompress.h
trapq.c
trapq.h