aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/cartesian.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-09-02 11:47:22 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-09-02 12:05:51 -0400
commit0d13834293d0b5db2fc3407bd603dbfaa691402d (patch)
tree2057264f58828460c7f9595d1bdbe85035e02bd8 /klippy/cartesian.py
parentac53806e0438dfc2a5841a3d182b521e2896cb76 (diff)
downloadkutter-0d13834293d0b5db2fc3407bd603dbfaa691402d.tar.gz
kutter-0d13834293d0b5db2fc3407bd603dbfaa691402d.tar.xz
kutter-0d13834293d0b5db2fc3407bd603dbfaa691402d.zip
gcode: Fix error that could cause commands to be processed out of order
Commit d0932009 changed the way command handling was performed, and commit 95950949 fixed a defect in that commit. Unfortunately, the fix was incomplete. If multiple commands were sent to Klippy without waiting for an "ok" response from Klippy, then it was possible for those additional commands to be queued and processed after subsequent commands. This would result in commands being processed out of order. Fix this by only reregistering the input fd in the greenlet that performs the unregistration of the fd. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/cartesian.py')
0 files changed, 0 insertions, 0 deletions