Fork of nRF51822 by
Diff: common/assertion.h
- Revision:
- 347:b5d18c33fd8a
- Parent:
- 346:14b090482fd2
- Child:
- 361:d2405f5a4853
--- a/common/assertion.h Fri Jun 19 15:55:35 2015 +0100 +++ b/common/assertion.h Fri Jun 19 15:55:35 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