diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-02-20 12:37:43 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-02-20 12:50:12 -0500 |
commit | 566699f68a6423a8bfc729d308b973def3347014 (patch) | |
tree | 3ac6198d54ee39f80b4592b968224a023127f0ef /klippy/heater.py | |
parent | 29ba92a5514de0bb6ccdad6e95c8b54f3d8a5e92 (diff) | |
download | kutter-566699f68a6423a8bfc729d308b973def3347014.tar.gz kutter-566699f68a6423a8bfc729d308b973def3347014.tar.xz kutter-566699f68a6423a8bfc729d308b973def3347014.zip |
toolhead: Fix error in lookahead logic
Commit c24b7a7e reworked the way lookahead was done and it introduced
a bug when a full acceleration move is immiedietly followed by a full
deceleration move. In that situation, depending on when the lookahead
queue was flushed, it was possible to call move.move() without calling
move.set_junction(). This resulted in a "Move instance has no
attribute 'accel_t'" internal error.
Simplify and fix the logic for checking full accel moves followed by
full decel moves.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/heater.py')
0 files changed, 0 insertions, 0 deletions