aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/serialhdl.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-10-12 15:15:14 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-10-12 16:28:53 -0400
commitf8750b142f56ebb1b9dd25a2fdfb5b28d33de57d (patch)
tree608ad8cd061845f705406e684d704cecdb8bd3ea /klippy/serialhdl.py
parent3033b037893332b1175dfc1ed99bdeab50710e00 (diff)
downloadkutter-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