aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/stm32f0.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-02-26 11:28:36 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-03-04 19:43:47 -0500
commit8f8c1e2c587a8e4bc88524774ea6fd49139fd08a (patch)
treed0ccdc815d57f746e3277311cc2d86591cc4b56b /src/stm32/stm32f0.c
parent271e412ae6b713a71431bc6f75fcc3ada3af41c3 (diff)
downloadkutter-8f8c1e2c587a8e4bc88524774ea6fd49139fd08a.tar.gz
kutter-8f8c1e2c587a8e4bc88524774ea6fd49139fd08a.tar.xz
kutter-8f8c1e2c587a8e4bc88524774ea6fd49139fd08a.zip
itersolve: Reset bounds search on a direction change
If the stepper changes direction then the average velocity since the last step pulse isn't a good indicator of the next step pulse. Instead, reset the bounds checking to use a low starting guess. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/stm32f0.c')
0 files changed, 0 insertions, 0 deletions