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 nRF51822 by
Diff: common/assertion.h
- Revision:
- 362:6fa0d4d555f6
- Parent:
- 361:d2405f5a4853
- Child:
- 370:295f76db798e
diff -r d2405f5a4853 -r 6fa0d4d555f6 common/assertion.h --- a/common/assertion.h Thu Jul 02 09:08:44 2015 +0100 +++ b/common/assertion.h Thu Jul 02 09:08:44 2015 +0100 @@ -80,11 +80,9 @@ // Assert Helper //--------------------------------------------------------------------+ //#ifndef _TEST_ -// #define ASSERT_MESSAGE(format, ...)\ -// _PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __PRETTY_FUNCTION__, __LINE__, __VA_ARGS__) +// #define ASSERT_MESSAGE(format, ...) _PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __PRETTY_FUNCTION__, __LINE__, __VA_ARGS__) //#else -// #define ASSERT_MESSAGE(format, ...)\ -// _PRINTF("%d:note: Assert " format "\n", __LINE__, __VA_ARGS__) +// #define ASSERT_MESSAGE(format, ...) _PRINTF("%d:note: Assert " format "\n", __LINE__, __VA_ARGS__) //#endif #if CFG_DEBUG == 3