summaryrefslogtreecommitdiff
path: root/tinyusb/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/common/common.h')
-rw-r--r--tinyusb/common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h
index 4b6fc645b..5f0f0655b 100644
--- a/tinyusb/common/common.h
+++ b/tinyusb/common/common.h
@@ -104,7 +104,7 @@
#define ASSERT_MESSAGE(condition, value, message) \
do{\
if (!(condition)) {\
- PRINTF("Assert at %s line %d: %s\n", __func__, __LINE__, message); \
+ PRINTF("Assert at %s line %d: %s\n", __PRETTY_FUNCTION__, __LINE__, message); \
return (value);\
}\
}while(0)