Jean-Pierre Aulas / BSP_DISCO_F746NG
Revision:
12:2e97e6b27c86
Parent:
11:b70ba9b9345e
Parent:
10:1050c589b2ad
--- a/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c	Thu Jun 06 00:07:56 2019 +0000
+++ b/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c	Wed Nov 27 07:50:04 2019 +0000
@@ -2,8 +2,6 @@
   ******************************************************************************
   * @file    stm32746g_discovery_camera.c
   * @author  MCD Application Team
-  * @version V2.0.0
-  * @date    30-December-2016
   * @brief   This file includes the driver for Camera modules mounted on
   *          STM32746G-Discovery board.
   @verbatim
@@ -60,12 +58,20 @@
   ******************************************************************************
   */ 
 
+/* Dependencies
+- stm32746g_discovery.c
+- stm32f7xx_hal_dcmi.c
+- stm32f7xx_hal_dma.c
+- stm32f7xx_hal_gpio.c
+- stm32f7xx_hal_cortex.c
+- stm32f7xx_hal_rcc_ex.h
+- ov9655.c
+EndDependencies */
+
 /* Includes ------------------------------------------------------------------*/
 #include "stm32746g_discovery_camera.h"
 #include "stm32746g_discovery.h"
 
-void wait_ms(int ms); // MBED to replace HAL_Delay function
-
 /** @addtogroup BSP
   * @{
   */
@@ -300,7 +306,7 @@
   /* De-assert the camera POWER_DOWN pin (active high) */
   HAL_GPIO_WritePin(GPIOH, GPIO_PIN_13, GPIO_PIN_RESET);
 
-  wait_ms(3);     /* POWER_DOWN de-asserted during 3ms */
+  HAL_Delay(3);     /* POWER_DOWN de-asserted during 3ms */
 }
 
 /**