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.
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h
- Revision:
- 154:37f96f9d4de2
- Parent:
- 149:156823d33999
diff -r fa9ff456f731 -r 37f96f9d4de2 targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h --- a/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h Tue Dec 20 17:27:56 2016 +0000 +++ b/targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h Wed Jan 04 16:58:05 2017 +0000 @@ -350,9 +350,8 @@ * If expr is true, it returns no value. * @retval None */ - #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) -/* Exported functions ------------------------------------------------------- */ - void assert_failed(uint8_t* file, uint32_t line); + #include "mbed_assert.h" + #define assert_param(expr) MBED_ASSERT(expr) #else #define assert_param(expr) ((void)0) #endif /* USE_FULL_ASSERT */
