aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepcompress.c
Commit message (Collapse)AuthorAgeFilesLines
...
* stepcompress: Check for invalid count in step_factor and step_sqrtKevin O'Connor2016-07-161-2/+13
| | | | | | | Check for an invalid count and report an error if found. This prevents some segfaults when count goes negative. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepcompress: Fix compress_bisect_add() infinite loopKevin O'Connor2016-07-101-2/+6
| | | | | | | | At high step speeds, it is possible to exit the inner scan due to integer truncation. Always update minadd or maxadd so that the outer loop always terminates. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Initial commit of source code.Kevin O'Connor2016-05-251-0/+498
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>