We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4fd338 + 6ff504c commit 9bdbe9cCopy full SHA for 9bdbe9c
platform/include/platform/mbed_assert.h
@@ -66,7 +66,7 @@ MBED_NORETURN void mbed_assert_internal(const char *expr, const char *file, int
66
#define MBED_ASSERT(expr) \
67
do { \
68
if (!(expr)) { \
69
- mbed_assert_internal(#expr, __FILE__, __LINE__); \
+ mbed_assert_internal(#expr, MBED_FILENAME, __LINE__); \
70
} \
71
} while (0)
72
#endif
0 commit comments