summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-12-12 13:35:30 +0700
committerGitHub <[email protected]>2023-12-12 13:35:30 +0700
commit6bb92555f3b1c3d1302d444b4a7352875e51678f (patch)
treeb245a05e0f029236d40c3a7ce84f8550f0551c0a /src/common
parentb6ad70bad9779e1191c3089c72136432ba80a942 (diff)
parentefde252ed0a577536f409db980f46db844a23b2b (diff)
Merge pull request #2347 from IngHK/HostLogsFixes
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..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 >= 2
+#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[];