summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-26 14:58:23 +0700
committerhathach <[email protected]>2020-04-26 14:58:23 +0700
commit9c8517a8d2603a0ce3a16c8cc144749d2ba9fece (patch)
tree1c4fcfb14c715023051d800a170fe6e82606b463 /src/common
parent017c95037f3173455fa09efae6093d56fd3f3d1a (diff)
fix missing debug log macros
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index fcb22cde1..052caef21 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -271,11 +271,17 @@ static inline char const* lookup_find(lookup_table_t const* p_table, uint32_t ke
#ifndef TU_LOG1
#define TU_LOG1(...)
#define TU_LOG1_MEM(...)
+ #define TU_LOG1_VAR(...)
+ #define TU_LOG1_INT(...)
+ #define TU_LOG1_HEX(...)
#endif
#ifndef TU_LOG2
#define TU_LOG2(...)
#define TU_LOG2_MEM(...)
+ #define TU_LOG2_VAR(...)
+ #define TU_LOG2_INT(...)
+ #define TU_LOG2_HEX(...)
#endif
#ifdef __cplusplus