Skip to content

Commit a244606

Browse files
authored
Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
2 parents 0f3d285 + af3c6be commit a244606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class/msc/msc_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ uint8_t rdwr10_validate_cmd(msc_cbw_t const* cbw)
203203
//--------------------------------------------------------------------+
204204
// Debug
205205
//--------------------------------------------------------------------+
206-
#if CFG_TUSB_DEBUG >= 2
206+
#if CFG_TUSB_DEBUG >= CFG_TUD_MSC_LOG_LEVEL
207207

208208
TU_ATTR_UNUSED tu_static tu_lookup_entry_t const _msc_scsi_cmd_lookup[] =
209209
{

0 commit comments

Comments
 (0)