mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 14:53:35 +08:00
More Kconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4624 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -292,12 +292,15 @@ static inline void stm32_setprescaler(FAR struct stm32_lowerhalf_s *priv)
|
||||
|
||||
stm32_putreg(IWDG_KR_KEY_ENABLE, STM32_IWDG_KR);
|
||||
|
||||
/* Wait for the PVU anrd RVU bit to be reset be hardware. These bits
|
||||
/* Wait for the PVU and RVU bits to be reset be hardware. These bits
|
||||
* were set the last time that the PR register was written and may not
|
||||
* yet be cleared.
|
||||
*
|
||||
* If the setup is only permitted one time, then this wait should not
|
||||
* be necessary.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_STM32_IWDG_DEFERREDSETUP
|
||||
#ifndef CONFIG_STM32_IWDG_ONETIMESETUP
|
||||
while ((stm32_getreg(STM32_IWDG_SR) & (IWDG_SR_PVU|IWDG_SR_RVU)) != 0);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user