mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
boards/arm/stm32/stm32f334-disco/src/stm32_smps.c: update according to the previous change in the PI controller
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user