Przeglądaj źródła

fix missing debug log macros

hathach 6 lat temu
rodzic
commit
9c8517a8d2
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      src/common/tusb_common.h

+ 6 - 0
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
 #ifndef TU_LOG1
   #define TU_LOG1(...)
   #define TU_LOG1(...)
   #define TU_LOG1_MEM(...)
   #define TU_LOG1_MEM(...)
+  #define TU_LOG1_VAR(...)
+  #define TU_LOG1_INT(...)
+  #define TU_LOG1_HEX(...)
 #endif
 #endif
 
 
 #ifndef TU_LOG2
 #ifndef TU_LOG2
   #define TU_LOG2(...)
   #define TU_LOG2(...)
   #define TU_LOG2_MEM(...)
   #define TU_LOG2_MEM(...)
+  #define TU_LOG2_VAR(...)
+  #define TU_LOG2_INT(...)
+  #define TU_LOG2_HEX(...)
 #endif
 #endif
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus