From 9c8517a8d2603a0ce3a16c8cc144749d2ba9fece Mon Sep 17 00:00:00 2001 From: hathach Date: Sun, 26 Apr 2020 14:58:23 +0700 Subject: [PATCH] fix missing debug log macros --- src/common/tusb_common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index fcb22cde..052caef2 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