Changeset 10 for ecs_cellMon/firmware/Core/Src/main.c
- Timestamp:
- Jun 12, 2023, 12:09:16 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ecs_cellMon/firmware/Core/Src/main.c
r9 r10 77 77 void resetMinMaxValues(void); 78 78 void mb_save_lock_key(void); 79 static void MX_IWDG_Init(void); 79 80 /* USER CODE END PFP */ 80 81 … … 171 172 172 173 174 MX_IWDG_Init(); 173 175 /* USER CODE END 2 */ 174 176 … … 367 369 368 370 /* USER CODE BEGIN 4 */ 371 372 /** 373 * @brief IWDG Initialization Function 374 * @param None 375 * @retval None 376 */ 377 static void MX_IWDG_Init(void) 378 { 379 380 /* USER CODE BEGIN IWDG_Init 0 */ 381 382 /* USER CODE END IWDG_Init 0 */ 383 384 /* USER CODE BEGIN IWDG_Init 1 */ 385 386 /* USER CODE END IWDG_Init 1 */ 387 hiwdg.Instance = IWDG; 388 hiwdg.Init.Prescaler = IWDG_PRESCALER_4; 389 hiwdg.Init.Window = 4095; 390 hiwdg.Init.Reload = 4095; 391 if (HAL_IWDG_Init(&hiwdg) != HAL_OK) 392 { 393 Error_Handler(); 394 } 395 /* USER CODE BEGIN IWDG_Init 2 */ 396 397 /* USER CODE END IWDG_Init 2 */ 398 399 } 400 401 369 402 void mb_save_lock_key() 370 403 {
Note: See TracChangeset
for help on using the changeset viewer.