aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/heaters.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/extras/heaters.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/extras/heaters.py')
-rw-r--r--klippy/extras/heaters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/heaters.py b/klippy/extras/heaters.py
index b9f60e63..048f293e 100644
--- a/klippy/extras/heaters.py
+++ b/klippy/extras/heaters.py
@@ -180,6 +180,7 @@ class ControlPID:
self.Ki = config.getfloat('pid_Ki') / PID_PARAM_BASE
self.Kd = config.getfloat('pid_Kd') / PID_PARAM_BASE
self.min_deriv_time = heater.get_smooth_time()
+ config.deprecate('pid_integral_max')
imax = config.getfloat('pid_integral_max', self.heater_max_power,
minval=0.)
self.temp_integ_max = 0.