]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_M7_STM32F7_STM32756G-EVAL_IAR_Keil/ST_Library/stm32f7xx_hal_wwdg.c
Update library files used in STM32F7 demo to the latest version released by ST.
[freertos] / FreeRTOS / Demo / CORTEX_M7_STM32F7_STM32756G-EVAL_IAR_Keil / ST_Library / stm32f7xx_hal_wwdg.c
index 7fff7249389093522990e74795eb4ce8f6ee8893..fb5739f485d5181898de4d45d2c9303bde40569f 100644 (file)
@@ -2,8 +2,8 @@
   ******************************************************************************\r
   * @file    stm32f7xx_hal_wwdg.c\r
   * @author  MCD Application Team\r
-  * @version V1.0.0RC1\r
-  * @date    24-March-2015\r
+  * @version V1.0.0\r
+  * @date    12-May-2015\r
   * @brief   WWDG HAL module driver.\r
   *          This file provides firmware functions to manage the following \r
   *          functionalities of the Window Watchdog (WWDG) peripheral:\r
@@ -163,6 +163,8 @@ HAL_StatusTypeDef HAL_WWDG_Init(WWDG_HandleTypeDef *hwwdg)
   \r
   if(hwwdg->State == HAL_WWDG_STATE_RESET)\r
   {\r
+    /* Allocate lock resource and initialize it */\r
+    hwwdg->Lock = HAL_UNLOCKED;\r
     /* Init the low level hardware */\r
     HAL_WWDG_MspInit(hwwdg);\r
   }\r