Fork of nRF51822 by
Diff: common/assertion.h
- Revision:
- 362:6fa0d4d555f6
- Parent:
- 361:d2405f5a4853
- Child:
- 370:295f76db798e
--- 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