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.
Revision 5:f715dacdced5, committed 2021-03-19
- Comitter:
- garj
- Date:
- Fri Mar 19 11:52:03 2021 +0000
- Parent:
- 4:18d537a3636b
- Commit message:
- Add wait_ms for mbed os 6
Changed in this revision
Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 18d537a3636b -r f715dacdced5 Drivers/BSP/STM32F429I-Discovery/stm32f429i_discovery.c --- 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 * @{ */