Pedro Correia / mbed-dev

Fork of mbed-dev by mbed official

Revision:
157:ff67d9f36b67
Parent:
149:156823d33999
Child:
161:2cc1468da177
diff -r 95d6b41a828b -r ff67d9f36b67 targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_cryp_ex.c
--- a/targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_cryp_ex.c	Mon Jan 16 15:03:32 2017 +0000
+++ b/targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_cryp_ex.c	Thu Feb 02 17:01:33 2017 +0000
@@ -2,8 +2,8 @@
   ******************************************************************************
   * @file    stm32f7xx_hal_cryp_ex.c
   * @author  MCD Application Team
-  * @version V1.1.0
-  * @date    22-April-2016
+  * @version V1.1.2
+  * @date    23-September-2016 
   * @brief   Extended CRYP HAL module driver
   *          This file provides firmware functions to manage the following 
   *          functionalities of CRYP extension peripheral:
@@ -102,7 +102,6 @@
 /** @addtogroup STM32F7xx_HAL_Driver
   * @{
   */
-#if defined (STM32F756xx) || defined (STM32F777xx) || defined (STM32F779xx)
 /** @defgroup CRYPEx CRYPEx
   * @brief CRYP Extension HAL module driver.
   * @{
@@ -111,6 +110,8 @@
 
 #ifdef HAL_CRYP_MODULE_ENABLED
 
+#if defined (CRYP)
+
 /* Private typedef -----------------------------------------------------------*/
 /* Private define ------------------------------------------------------------*/
 /** @addtogroup CRYPEx_Private_define
@@ -3027,12 +3028,15 @@
 /**
   * @}
   */
+  
+#endif /* CRYP */
+  
 #endif /* HAL_CRYP_MODULE_ENABLED */
 
 /**
   * @}
   */
-#endif /* STM32F756xx || STM32F777xx || STM32F779xx */
+
 /**
   * @}
   */