mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-16 05:42:56 +00:00
clean up
This commit is contained in:
parent
0e62cb1425
commit
a18f47353c
@ -61,8 +61,8 @@
|
|||||||
// VERIFY Helper
|
// VERIFY Helper
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
#if CFG_TUSB_DEBUG >= 1
|
#if CFG_TUSB_DEBUG >= 1
|
||||||
#define _MESS_ERR(_err) printf("%s: %d: failed, error = %s\n", __PRETTY_FUNCTION__, __LINE__, tusb_strerr[_err])
|
#define _MESS_ERR(_err) printf("%s: %d: failed, error = %s\n", __func__, __LINE__, tusb_strerr[_err])
|
||||||
#define _MESS_FAILED() printf("%s: %d: failed\n", __PRETTY_FUNCTION__, __LINE__)
|
#define _MESS_FAILED() printf("%s: %d: failed\n", __func__, __LINE__)
|
||||||
#else
|
#else
|
||||||
#define _MESS_ERR(_err)
|
#define _MESS_ERR(_err)
|
||||||
#define _MESS_FAILED()
|
#define _MESS_FAILED()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user