summaryrefslogtreecommitdiff
path: root/src/common/tusb_debug.h
diff options
context:
space:
mode:
authorIngHK <[email protected]>2023-12-08 16:59:52 +0100
committerIngHK <[email protected]>2023-12-08 16:59:52 +0100
commitefde252ed0a577536f409db980f46db844a23b2b (patch)
treea5035bd768d15de12180043221aff1072d9de36c /src/common/tusb_debug.h
parent4d88f146e3a79ca4e7c7bbba2cdd6b8f3b07537a (diff)
improved CFG_TUSB_DEBUG handling due to compile errors
Diffstat (limited to 'src/common/tusb_debug.h')
-rw-r--r--src/common/tusb_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_debug.h b/src/common/tusb_debug.h
index bd388d910..0f4dc93f3 100644
--- a/src/common/tusb_debug.h
+++ b/src/common/tusb_debug.h
@@ -43,7 +43,7 @@
#if CFG_TUSB_DEBUG
// Enum to String for debugging purposes
-#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL
+#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL || CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
extern char const* const tu_str_speed[];
extern char const* const tu_str_std_request[];
extern char const* const tu_str_xfer_result[];