diff options
| author | Ha Thach <[email protected]> | 2020-07-08 19:47:24 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-08 19:47:24 +0700 |
| commit | dbced9911d67fb2063b6eff9e51d463b9062687a (patch) | |
| tree | 224b6dbe4455e72227174a07c8755acfb4ae3838 /src/common | |
| parent | 0c9932440b794fbdc699df6f0601f6febddedfe5 (diff) | |
| parent | 0fd074afd85d84f162ddebbc9b8e009f9136809b (diff) | |
Merge pull request #447 from hathach/add-stm-hs
Add support for STM32 OTG HS core
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 |
