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.
Diff: Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c
- Revision:
- 5:f715dacdced5
- Parent:
- 4:18d537a3636b
--- a/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c Thu Mar 11 06:42:13 2021 +0000 +++ b/Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c Fri Mar 19 11:52:03 2021 +0000 @@ -41,11 +41,11 @@ #include "cmsis_nvic.h" // // Added for mbed // Added for mbed. This function replaces HAL_Delay() -/*extern void thread_sleep_for(int); +extern void thread_sleep_for(int); void wait_ms(int ms) { - thread_sleep_for(1000*ms); -}*/ + thread_sleep_for(ms); +} /** @defgroup BSP BSP * @{ */