diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-10-12 15:15:14 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-10-12 16:28:53 -0400 |
commit | f8750b142f56ebb1b9dd25a2fdfb5b28d33de57d (patch) | |
tree | 608ad8cd061845f705406e684d704cecdb8bd3ea /klippy/serialhdl.py | |
parent | 3033b037893332b1175dfc1ed99bdeab50710e00 (diff) | |
download | kutter-f8750b142f56ebb1b9dd25a2fdfb5b28d33de57d.tar.gz kutter-f8750b142f56ebb1b9dd25a2fdfb5b28d33de57d.tar.xz kutter-f8750b142f56ebb1b9dd25a2fdfb5b28d33de57d.zip |
klippy: Rework shutdown handling
If an MCU signals a shutdown from the background thread, notify the
main thread and handle the shutdown there. Dispatch shutdown handling
from the main Printer() class instead of from the Toolhead class.
This simplifies the shutdown logic.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialhdl.py')
0 files changed, 0 insertions, 0 deletions