klipper-dgus/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 itersolve: Add ability to query the active_flags state 2020-01-23 20:47:01 -05:00
compiler.h chelper: Add compiler.h header 2018-06-20 09:26:10 -04:00
itersolve.c itersolve: Add ability to query the active_flags state 2020-01-23 20:47:01 -05:00
itersolve.h itersolve: Add ability to query the active_flags state 2020-01-23 20:47:01 -05:00
kin_cartesian.c cartesian: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_corexy.c corexy: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_delta.c delta: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_extruder.c kin_extruder: Convert pressure advance to use "weighted average" 2019-12-20 12:21:58 -05:00
kin_polar.c polar: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
kin_rotary_delta.c rotary_delta: Initial support for rotary delta kinematics 2020-01-06 11:52:42 -05:00
kin_winch.c winch: Convert step generation to use trapq system 2019-11-06 15:51:51 -05:00
list.h list: Add additional list helper functions 2019-11-06 15:51:51 -05:00
pyhelper.c chelper: Use CLOCK_MONOTONIC_RAW 2018-07-09 12:25:19 -04:00
pyhelper.h chelper: Add compiler.h header 2018-06-20 09:26:10 -04:00
serialqueue.c serialqueue: Wrap code to 80 columns 2019-02-27 14:20:15 -05:00
serialqueue.h serialqueue: Wrap code to 80 columns 2019-02-27 14:20:15 -05:00
stepcompress.c stepcompress: Fix rounding error when interval=0 2020-01-25 14:20:44 -05:00
stepcompress.h stepcompress: Remove no longer needed stepcompress_set_homing() 2019-07-10 10:43:20 -04:00
trapq.c trapq: Limit the duration of "null" sentinal moves on the trapq 2019-12-20 12:13:19 -05:00
trapq.h kin_extruder: Move integration code from trapq.c to kin_extruder.c 2019-12-08 18:30:42 -05:00