diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-09-04 14:20:24 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-09-16 13:44:54 -0400 |
commit | 46167cae672073b1ce0aeb4966b30c28bc47957e (patch) | |
tree | 52ea9318147b065b6848970e6821f7260e1f4190 /klippy/mcu.py | |
parent | c89db2480df57204d805f52c9c488e251bafe631 (diff) | |
download | kutter-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.py | 1 |
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 |