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 144f9b3 commit 35ccdabCopy full SHA for 35ccdab
targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_hal_conf.h
@@ -296,9 +296,8 @@
296
* If expr is true, it returns no value.
297
* @retval None
298
*/
299
- #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
300
-/* Exported functions ------------------------------------------------------- */
301
- void assert_failed(uint8_t* file, uint32_t line);
+ #include "mbed_assert.h"
+ #define assert_param(expr) MBED_ASSERT(expr)
302
#else
303
#define assert_param(expr) ((void)0U)
304
#endif /* USE_FULL_ASSERT */
0 commit comments