Ignore:
Timestamp:
Jun 12, 2023, 12:09:16 PM (19 months ago)
Author:
f.jahn
Message:

IWDG HAL library version is changed to 1.4.1 for better compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ecs_cellMon/firmware/Core/Src/main.c

    r9 r10  
    7777void resetMinMaxValues(void);
    7878void mb_save_lock_key(void);
     79static void MX_IWDG_Init(void);
    7980/* USER CODE END PFP */
    8081
     
    171172 
    172173
     174  MX_IWDG_Init();
    173175  /* USER CODE END 2 */
    174176
     
    367369
    368370/* USER CODE BEGIN 4 */
     371
     372/**
     373  * @brief IWDG Initialization Function
     374  * @param None
     375  * @retval None
     376  */
     377static 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
    369402void mb_save_lock_key()
    370403{
Note: See TracChangeset for help on using the changeset viewer.