aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/toolhead.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-15 23:08:29 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-03-16 13:15:09 -0400
commitdf6d3107f2b9948bc9dc28c4a1dd6a9ea9fda0fe (patch)
tree96f7281931872006d1816a4bd7cc58199246f023 /klippy/toolhead.py
parentcbdc54843d428ee66db2692cac4becd61887bf16 (diff)
downloadkutter-df6d3107f2b9948bc9dc28c4a1dd6a9ea9fda0fe.tar.gz
kutter-df6d3107f2b9948bc9dc28c4a1dd6a9ea9fda0fe.tar.xz
kutter-df6d3107f2b9948bc9dc28c4a1dd6a9ea9fda0fe.zip
stepper: Fix set_min_stop_interval() calculation
The previous calculation was only valid if the stepper is always commanded to a position that is an exact multiple of the step_distance. The safety check was programmed with a value too large for other commanded positions, which could result in "No next step" errors. Fix by changing the calculation to use the worst case scenario. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/toolhead.py')
0 files changed, 0 insertions, 0 deletions