klipper-dgus/klippy
Kevin O'Connor 7554c7f694 stepcompress: Do all step rounding in C code
Commits f0cefebf and 8f331f08 changed the way the code determined what
steps to take on fractional steps.  Unfortunately, it was possible in
some situations for the C code to round differently from the python
code which could result in warnings and lost steps.

Change the code so that all fractional step handling is done in the C
code.  Implementing the step rounding logic in one location avoids any
conflicts.

In order to efficiently handle the step rounding in the C code, the C
code has also been extended to directly send the "set_next_step_dir"
command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-11-13 18:29:45 -05:00
..
cartesian.py stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
chelper.py stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
console.py console: Update the debugging console to support setting local varables 2016-06-13 23:18:58 -04:00
extruder.py stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
fan.py mcu: Convert PWM and ADC objects to take mcu_time instead of clock 2016-08-24 15:16:02 -04:00
gcode.py gcode: Reset current position after an endstop error 2016-10-11 15:10:19 -04:00
heater.py heater: Do not require target temperature be above min_extrude_temp 2016-11-08 09:22:43 -05:00
homing.py cartesian: Enforce endstop min and max boundaries 2016-09-30 21:36:51 -04:00
klippy.py queuelogger: Add support for background log writing 2016-11-12 22:53:43 -05:00
list.h Initial commit of source code. 2016-05-25 11:37:40 -04:00
mcu.py stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
msgproto.py Initial commit of source code. 2016-05-25 11:37:40 -04:00
parsedump.py Initial commit of source code. 2016-05-25 11:37:40 -04:00
pins.py pins: Add Arduino Due pin name aliases 2016-06-14 15:41:18 -04:00
queuelogger.py queuelogger: Add support for background log writing 2016-11-12 22:53:43 -05:00
reactor.py Initial commit of source code. 2016-05-25 11:37:40 -04:00
serialhdl.py serialhdl: Calculate baudadjust from MCU's baud instead of host baud 2016-07-16 21:33:35 -04:00
serialqueue.c serialhdl: Calculate baudadjust from MCU's baud instead of host baud 2016-07-16 21:33:35 -04:00
serialqueue.h serialhdl: Calculate baudadjust from MCU's baud instead of host baud 2016-07-16 21:33:35 -04:00
stepcompress.c stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
stepper.py stepcompress: Do all step rounding in C code 2016-11-13 18:29:45 -05:00
toolhead.py toolhead: Support calculation of cornering minimum and maximum 2016-11-05 10:59:36 -04:00
util.py Initial commit of source code. 2016-05-25 11:37:40 -04:00