diff options
| author | hathach <[email protected]> | 2023-12-15 17:42:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-12-15 17:42:25 +0700 |
| commit | 17a0ce655bab4413928404ce7dc4f968738bfcf6 (patch) | |
| tree | 26efd78e70fd01b0c819104b1c86d85b6f685f9b /src/tusb_option.h | |
| parent | f3d713ac7336913a68326eae5a7e146ec2cd22c3 (diff) | |
| parent | 9474db8b0fc3e96d654ed49529b82bbd329f2f56 (diff) | |
Merge branch 'master' into h5
Diffstat (limited to 'src/tusb_option.h')
| -rw-r--r-- | src/tusb_option.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index 699691b53..a76281c0c 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -300,6 +300,16 @@ #define CFG_TUSB_DEBUG 0 #endif +// Level where CFG_TUSB_DEBUG must be at least for USBH is logged +#ifndef CFG_TUH_LOG_LEVEL + #define CFG_TUH_LOG_LEVEL 2 +#endif + +// Level where CFG_TUSB_DEBUG must be at least for USBD is logged +#ifndef CFG_TUD_LOG_LEVEL + #define CFG_TUD_LOG_LEVEL 2 +#endif + // Memory section for placing buffer used for usb transferring. If MEM_SECTION is different for // host and device use: CFG_TUD_MEM_SECTION, CFG_TUH_MEM_SECTION instead #ifndef CFG_TUSB_MEM_SECTION |
