Skip to content

Commit da9b919

Browse files
committed
STM32H7: Increase watchdog timeout value
1 parent 3384cea commit da9b919

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

targets/TARGET_STM/TARGET_STM32H7/device/stm32h7xx_hal_iwdg.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,8 @@
109109
/** @defgroup IWDG_Private_Defines IWDG Private Defines
110110
* @{
111111
*/
112-
/* Status register need 5 RC LSI divided by prescaler clock to be updated. With
113-
higher prescaler (256), and according to LSI variation, we need to wait at
114-
least 6 cycles so 48 ms. */
115-
#define HAL_IWDG_DEFAULT_TIMEOUT 48u
112+
/* MBED */
113+
#define HAL_IWDG_DEFAULT_TIMEOUT 96u
116114
/**
117115
* @}
118116
*/

0 commit comments

Comments
 (0)