feat(iwdg): enable LED-driven watchdog refresh

This commit is contained in:
2026-04-24 05:48:54 +08:00
parent 5e9b140db8
commit be80b9dcb1
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ void MX_IWDG_Init(void)
/* USER CODE END IWDG_Init 1 */
hiwdg.Instance = IWDG;
hiwdg.Init.Prescaler = IWDG_PRESCALER_4;
hiwdg.Init.Prescaler = IWDG_PRESCALER_64;
hiwdg.Init.Reload = 4095;
if (HAL_IWDG_Init(&hiwdg) != HAL_OK)
{