boards/arm/stm32/stm32f334-disco/src/stm32_smps.c: update according to the previous change in the PI controller
This commit is contained in:
parent
b34dd2d96a
commit
4ad8f85555
@ -431,6 +431,10 @@ static int smps_start(FAR struct smps_dev_s *dev)
|
||||
/* Set PID controller saturation */
|
||||
|
||||
pid_saturation_set(&priv->pid, 0.0, BOOST_VOLT_MAX);
|
||||
|
||||
/* Reset PI integral if saturated */
|
||||
|
||||
pi_ireset_enable(&priv->pid, true);
|
||||
#endif
|
||||
|
||||
/* Get TIMA period value for given frequency */
|
||||
|
Loading…
Reference in New Issue
Block a user