summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-02-22 18:03:51 +0700
committerGitHub <[email protected]>2024-02-22 18:03:51 +0700
commita2446068d323593f62f11e10324f8c5da95bd43f (patch)
treedf1782e86de1fe9c4e0a6d5999e7625257ae0d7d /src
parent0f3d28593d583278e613eff20c723eb9c1f0461c (diff)
parentaf3c6be79fe9a9829f30831bd7525d2a22cb5529 (diff)
Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
Diffstat (limited to 'src')
-rw-r--r--src/class/msc/msc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c
index 2589dcd2c..c145d86a6 100644
--- a/src/class/msc/msc_device.c
+++ b/src/class/msc/msc_device.c
@@ -203,7 +203,7 @@ uint8_t rdwr10_validate_cmd(msc_cbw_t const* cbw)
//--------------------------------------------------------------------+
// Debug
//--------------------------------------------------------------------+
-#if CFG_TUSB_DEBUG >= 2
+#if CFG_TUSB_DEBUG >= CFG_TUD_MSC_LOG_LEVEL
TU_ATTR_UNUSED tu_static tu_lookup_entry_t const _msc_scsi_cmd_lookup[] =
{