diff options
| author | Reinhard Panhuber <[email protected]> | 2020-07-26 12:57:16 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2020-07-26 12:57:16 +0200 |
| commit | 201dd72576a41b94a34adac9beb6da366235513c (patch) | |
| tree | 792ac21e71f560e5dc2d2eb109eb4cbed8366acb /src/common | |
| parent | ada82b840f642681f8012cb2a46aa7577393dd30 (diff) | |
| parent | 60355720364f66fff7856c3de1d18382f7912e31 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index 4b4183ae6..1dba6c914 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -228,7 +228,6 @@ void tu_print_var(uint8_t const* buf, uint32_t bufsize) for(uint32_t i=0; i<bufsize; i++) tu_printf("%02X ", buf[i]); } - // Log with debug level 1 #define TU_LOG1 tu_printf #define TU_LOG1_MEM tu_print_mem @@ -243,9 +242,9 @@ void tu_print_var(uint8_t const* buf, uint32_t bufsize) #define TU_LOG2 TU_LOG1 #define TU_LOG2_MEM TU_LOG1_MEM #define TU_LOG2_VAR TU_LOG1_VAR - #define TU_LOG2_LOCATION() TU_LOG1_LOCATION() #define TU_LOG2_INT TU_LOG1_INT #define TU_LOG2_HEX TU_LOG1_HEX + #define TU_LOG2_LOCATION() TU_LOG1_LOCATION() #endif @@ -279,6 +278,7 @@ static inline char const* lookup_find(lookup_table_t const* p_table, uint32_t ke #define TU_LOG1_VAR(...) #define TU_LOG1_INT(...) #define TU_LOG1_HEX(...) + #define TU_LOG1_LOCATION() #define TU_LOG1_FAILED() #endif @@ -288,6 +288,7 @@ static inline char const* lookup_find(lookup_table_t const* p_table, uint32_t ke #define TU_LOG2_VAR(...) #define TU_LOG2_INT(...) #define TU_LOG2_HEX(...) + #define TU_LOG2_LOCATION() #endif #ifdef __cplusplus |
