longer watchdog period

This commit is contained in:
2020-12-27 12:39:13 +01:00
parent 98fa27256b
commit e524164cb5
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ void MX_IWDG_Init(void)
{
hiwdg.Instance = IWDG;
hiwdg.Init.Prescaler = IWDG_PRESCALER_8;
hiwdg.Init.Prescaler = IWDG_PRESCALER_256;
hiwdg.Init.Reload = 4095;
if (HAL_IWDG_Init(&hiwdg) != HAL_OK)
{