Skip to content

Commit c357f4e

Browse files
committed
Restore watchdog
1 parent e6b6b03 commit c357f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Core/Src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ int main(void)
6363
MX_GPIO_Init();
6464
ADDRESS = readPinstraps();
6565
MX_I2C1_Init(ADDRESS);
66-
//MX_IWDG_Init();
66+
MX_IWDG_Init();
6767
/* Initialize interrupts */
6868
MX_NVIC_Init();
6969

@@ -76,7 +76,7 @@ int main(void)
7676
/* Infinite loop */
7777
while (1)
7878
{
79-
//HAL_IWDG_Refresh(&hiwdg);
79+
HAL_IWDG_Refresh(&hiwdg);
8080
if (endTone != 0 && HAL_GetTick() > endTone) {
8181
HAL_TIM_PWM_Stop(&htim1, TIM_CHANNEL_1);
8282
endTone = 0;

0 commit comments

Comments
 (0)