STM32Cube BSP FW for STM32F769I-Discovery

Dependents:   mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more

Revision:
7:0680eff4de60
Parent:
4:72a949940ad6
diff -r 60b59d223214 -r 0680eff4de60 Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.c
--- a/Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.c	Fri Nov 15 11:22:24 2019 +0100
+++ b/Drivers/BSP/STM32F769I-Discovery/stm32f769i_discovery.c	Fri Nov 15 14:31:53 2019 +0100
@@ -45,7 +45,6 @@
 
 /* Includes ------------------------------------------------------------------*/
 #include "stm32f769i_discovery.h"
-#include "mbed_wait_api.h" // MBED: replace HAL_Delay by wait_ms
 
 /** @addtogroup BSP
   * @{
@@ -616,7 +615,7 @@
   */
 void AUDIO_IO_Delay(uint32_t Delay)
 {
-  wait_ms(Delay);
+  HAL_Delay(Delay);
 }
 
 /******************************** LINK I2C EEPROM *****************************/
@@ -740,7 +739,7 @@
   */
 void TS_IO_Delay(uint32_t Delay)
 {
-  wait_ms(Delay);
+  HAL_Delay(Delay);
 }
 
 /**************************** LINK OTM8009A (Display driver) ******************/
@@ -750,7 +749,7 @@
   */
 void OTM8009A_IO_Delay(uint32_t Delay)
 {
-  wait_ms(Delay);
+  HAL_Delay(Delay);
 }
 
 /**************************** LINK ADV7533 DSI-HDMI (Display driver) **********/
@@ -798,7 +797,7 @@
   */
 void HDMI_IO_Delay(uint32_t Delay)
 {
-  wait_ms(Delay);
+  HAL_Delay(Delay);
 }
 /**
   * @}