aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-03-05 12:42:35 -0500
committerKevinOConnor <kevin@koconnor.net>2019-03-17 19:38:18 -0400
commitdb6e2d4c9ef1e2f8f231821f7506252a406ea2f0 (patch)
tree0fae3dcee5f60078f0abb8ba83c4016d940385bb /klippy/mcu.py
parent7d73a35805a61a40f49d0840741434ab9548d638 (diff)
downloadkutter-db6e2d4c9ef1e2f8f231821f7506252a406ea2f0.tar.gz
kutter-db6e2d4c9ef1e2f8f231821f7506252a406ea2f0.tar.xz
kutter-db6e2d4c9ef1e2f8f231821f7506252a406ea2f0.zip
msgproto: Convert static strings to a more generic enumeration system
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r--klippy/mcu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index 5a00c54c..a5b97557 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -483,7 +483,7 @@ class MCU:
if self._is_shutdown:
return
self._is_shutdown = True
- self._shutdown_msg = msg = params['#msg']
+ self._shutdown_msg = msg = params['static_string_id']
logging.info("MCU '%s' %s: %s\n%s\n%s", self._name, params['#name'],
self._shutdown_msg, self._clocksync.dump_debug(),
self._serial.dump_debug())