We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2257d4b commit 06ffb4cCopy full SHA for 06ffb4c
targets/TARGET_STM/TARGET_STM32F2/device/stm32f2xx_hal_conf.h
@@ -382,9 +382,8 @@
382
* If expr is true, it returns no value.
383
* @retval None
384
*/
385
- #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
386
-/* Exported functions ------------------------------------------------------- */
387
- void assert_failed(uint8_t* file, uint32_t line);
+ #include "mbed_assert.h"
+ #define assert_param(expr) MBED_ASSERT(expr)
388
#else
389
#define assert_param(expr) ((void)0)
390
#endif /* USE_FULL_ASSERT */
0 commit comments