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 b606267Copy full SHA for b606267
targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h
@@ -350,9 +350,8 @@
350
* If expr is true, it returns no value.
351
* @retval None
352
*/
353
- #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
354
-/* Exported functions ------------------------------------------------------- */
355
- void assert_failed(uint8_t* file, uint32_t line);
+ #include "mbed_assert.h"
+ #define assert_param(expr) MBED_ASSERT(expr)
356
#else
357
#define assert_param(expr) ((void)0)
358
#endif /* USE_FULL_ASSERT */
0 commit comments