diff options
| author | hathach <[email protected]> | 2018-04-17 22:16:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-17 22:16:26 +0700 |
| commit | a18f47353c73612049ff1071ef129ae292e61ba4 (patch) | |
| tree | dd87cf939edeb75dd326388b7be0e7199e2cb5f1 | |
| parent | 0e62cb1425f704ee3ac334f92992d5b0cfd2817d (diff) | |
clean up
| -rw-r--r-- | tinyusb/common/tusb_verify.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/common/tusb_verify.h b/tinyusb/common/tusb_verify.h index 0a7d22419..0e1f3b934 100644 --- a/tinyusb/common/tusb_verify.h +++ b/tinyusb/common/tusb_verify.h @@ -61,8 +61,8 @@ // VERIFY Helper //--------------------------------------------------------------------+ #if CFG_TUSB_DEBUG >= 1 - #define _MESS_ERR(_err) printf("%s: %d: failed, error = %s\n", __PRETTY_FUNCTION__, __LINE__, tusb_strerr[_err]) - #define _MESS_FAILED() printf("%s: %d: failed\n", __PRETTY_FUNCTION__, __LINE__) + #define _MESS_ERR(_err) printf("%s: %d: failed, error = %s\n", __func__, __LINE__, tusb_strerr[_err]) + #define _MESS_FAILED() printf("%s: %d: failed\n", __func__, __LINE__) #else #define _MESS_ERR(_err) #define _MESS_FAILED() |
