summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorIngHK <[email protected]>2023-11-24 22:34:28 +0100
committerIngHK <[email protected]>2023-11-24 22:34:28 +0100
commitb8881a3a141530a1d383d8869881e773b8a07d80 (patch)
tree289a134a0debea74a60e3b87947a5daa5d9f6624 /src/common
parenta973887399e5bb33039ddddaf43136b63fe28776 (diff)
fixed compile errors due to untreated CFG_TUH_LOG_LEVEL
Diffstat (limited to 'src/common')
-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 99176c02a..bd388d910 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 >= 2
+#if CFG_TUSB_DEBUG >= CFG_TUH_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[];