diff options
| author | hathach <[email protected]> | 2023-08-02 15:34:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-02 15:34:18 +0700 |
| commit | 979bf32266d379ec493ad31001b815d6a597b91e (patch) | |
| tree | 784d4d7ecae6240cc41916951e02aa4f9522cb4a /src/class/msc/msc_device.c | |
| parent | 2cf869c1a4e9cac81b6dc3b3917aa08b0e39b122 (diff) | |
default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to selectively disable usbd/usbh or driver log
Diffstat (limited to 'src/class/msc/msc_device.c')
| -rw-r--r-- | src/class/msc/msc_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c index a602e9672..2589dcd2c 100644 --- a/src/class/msc/msc_device.c +++ b/src/class/msc/msc_device.c @@ -36,7 +36,7 @@ // Level where CFG_TUSB_DEBUG must be at least for this driver is logged #ifndef CFG_TUD_MSC_LOG_LEVEL - #define CFG_TUD_MSC_LOG_LEVEL 2 + #define CFG_TUD_MSC_LOG_LEVEL CFG_TUD_LOG_LEVEL #endif #define TU_LOG_DRV(...) TU_LOG(CFG_TUD_MSC_LOG_LEVEL, __VA_ARGS__) |
