mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-09 07:56:26 -06:00
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>
This commit is contained in:
parent
c89db2480d
commit
46167cae67
7 changed files with 40 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue