Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SD_UART DISCO-F746NG_SRF02_2
Diff: Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c
- Revision:
- 9:df2ea349c37a
- Parent:
- 8:56384bddaba5
--- a/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c Thu Feb 23 14:14:09 2017 +0100 +++ b/Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_camera.c Thu Jul 06 16:58:50 2017 +0200 @@ -64,6 +64,8 @@ #include "stm32746g_discovery_camera.h" #include "stm32746g_discovery.h" +void wait_ms(int ms); // MBED to replace HAL_Delay function + /** @addtogroup BSP * @{ */ @@ -298,7 +300,7 @@ /* De-assert the camera POWER_DOWN pin (active high) */ HAL_GPIO_WritePin(GPIOH, GPIO_PIN_13, GPIO_PIN_RESET); - HAL_Delay(3); /* POWER_DOWN de-asserted during 3ms */ + wait_ms(3); /* POWER_DOWN de-asserted during 3ms */ } /**