From 680784e9c125c866f866bd9103b97d41cba10702 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 25 Mar 2014 21:43:48 +0700 Subject: update keil & iar device project to add lpcxpresso11u14 support --- tinyusb/common/assertion.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tinyusb') diff --git a/tinyusb/common/assertion.h b/tinyusb/common/assertion.h index 329bc11db..fa061a983 100644 --- a/tinyusb/common/assertion.h +++ b/tinyusb/common/assertion.h @@ -81,15 +81,14 @@ extern "C" //--------------------------------------------------------------------+ #ifndef _TEST_ #define ASSERT_MESSAGE(format, ...)\ - _PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __PRETTY_FUNCTION__, __LINE__, __VA_ARGS__) + _PRINTF("Assert at %s: %s: %d: " format "\n", __BASE_FILE__, __func__ , __LINE__, __VA_ARGS__) #else #define ASSERT_MESSAGE(format, ...)\ _PRINTF("%d:note: Assert " format "\n", __LINE__, __VA_ARGS__) #endif #ifndef _TEST_ASSERT_ - #define ASSERT_ERROR_HANDLER(x, para) \ - return x + #define ASSERT_ERROR_HANDLER(x, para) return x #else #define ASSERT_ERROR_HANDLER(x, para) Throw(x) #endif -- cgit v1.3.1