summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-05-31 19:41:22 +0700
committerhathach <[email protected]>2020-05-31 19:41:22 +0700
commit5ffba8536dfaa4602e3e7f1c94be124bfeb3a5ae (patch)
treedf543111054e15eed9d0d9e2d8b93afbbe9cec5a /src/common
parentd4bf777c943659a4e985ce8514ef077c5bf2b40d (diff)
able to detect as hs
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h
index f144cda73..d77893b6b 100644
--- a/src/common/tusb_common.h
+++ b/src/common/tusb_common.h
@@ -241,9 +241,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
@@ -277,6 +277,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()
#endif
#ifndef TU_LOG2
@@ -285,6 +286,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