aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-09-04 14:20:24 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-09-16 13:44:54 -0400
commit46167cae672073b1ce0aeb4966b30c28bc47957e (patch)
tree52ea9318147b065b6848970e6821f7260e1f4190 /klippy/mcu.py
parentc89db2480df57204d805f52c9c488e251bafe631 (diff)
downloadkutter-46167cae672073b1ce0aeb4966b30c28bc47957e.tar.gz
kutter-46167cae672073b1ce0aeb4966b30c28bc47957e.tar.xz
kutter-46167cae672073b1ce0aeb4966b30c28bc47957e.zip
configfile: Add support for reporting deprecated options
Add a new printer.configfile.warnings with a list of config features that are deprecated. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r--klippy/mcu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index d568d194..f4d8d5a5 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -560,6 +560,7 @@ class MCU:
self._config_cmds = []
self._restart_cmds = []
self._init_cmds = []
+ config.deprecate('pin_map')
self._pin_map = config.get('pin_map', None)
self._mcu_freq = 0.
# Move command queuing