diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-21 21:13:59 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-21 21:22:12 -0400 |
commit | 7faa5fe2336105bebd07f4579a40317a66767815 (patch) | |
tree | 891c94672d477e073074773c6ac6ac0c4ea08b16 /klippy/serialqueue.c | |
parent | 19090bdd5b2ca8ff2dd0f8524d746a06638bf687 (diff) | |
download | kutter-7faa5fe2336105bebd07f4579a40317a66767815.tar.gz kutter-7faa5fe2336105bebd07f4579a40317a66767815.tar.xz kutter-7faa5fe2336105bebd07f4579a40317a66767815.zip |
gcode: Improve end-of-file handling when input is a debug file
Wait for any pending moves to be fully handled before exiting. Make
sure the wait is done inside the "self.is_processing_data" check to
avoid infinite recursion. Don't keep reading from the file while
waiting to exit.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialqueue.c')
0 files changed, 0 insertions, 0 deletions