mirror of https://github.com/Desuuuu/klipper.git
temperature_fan: Remove deprecated pid_integral_max option
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
40c2d11ef8
commit
647a1cd8ca
|
@ -8,6 +8,9 @@ All dates in this document are approximate.
|
|||
|
||||
## Changes
|
||||
|
||||
20220407: The temperature_fan `pid_integral_max` config option has
|
||||
been removed (it was deprecated on 20210612).
|
||||
|
||||
20220407: The default color order for pca9632 LEDs is now "RGBW". Add
|
||||
an explicit `color_order: RBGW` setting to the pca9632 config section
|
||||
to obtain the previous behavior.
|
||||
|
|
|
@ -147,9 +147,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 = config.getfloat('pid_deriv_time', 2., above=0.)
|
||||
imax = config.getfloat('pid_integral_max',
|
||||
self.temperature_fan.get_max_speed(), minval=0.)
|
||||
self.temp_integ_max = imax / self.Ki
|
||||
self.temp_integ_max = self.temperature_fan.get_max_speed() / self.Ki
|
||||
self.prev_temp = AMBIENT_TEMP
|
||||
self.prev_temp_time = 0.
|
||||
self.prev_temp_deriv = 0.
|
||||
|
|
Loading…
Reference in New Issue