summaryrefslogtreecommitdiff
path: root/src/tusb.c
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/tusb.c
parenta973887399e5bb33039ddddaf43136b63fe28776 (diff)
fixed compile errors due to untreated CFG_TUH_LOG_LEVEL
Diffstat (limited to 'src/tusb.c')
-rw-r--r--src/tusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tusb.c b/src/tusb.c
index 7b0a669a0..e0c1066d4 100644
--- a/src/tusb.c
+++ b/src/tusb.c
@@ -419,7 +419,7 @@ uint32_t tu_edpt_stream_read(tu_edpt_stream_t* s, void* buffer, uint32_t bufsize
#if CFG_TUSB_DEBUG
#include <ctype.h>
-#if CFG_TUSB_DEBUG >= 2
+#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL
char const* const tu_str_speed[] = { "Full", "Low", "High" };
char const* const tu_str_std_request[] =