diff options
| author | Reinhard Panhuber <[email protected]> | 2021-04-03 16:58:05 +0200 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-04-03 16:58:05 +0200 |
| commit | 6f2f5320f26f131e56fba21c079d007d22cafa37 (patch) | |
| tree | 294a87f2cdc6bfe45b53aeedee2a8b18960641ed /examples | |
| parent | 4af5189492f850615581d3310e20c98f69cf6138 (diff) | |
Fix uac2_headset example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/uac2_headset/src/tusb_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/device/uac2_headset/src/tusb_config.h b/examples/device/uac2_headset/src/tusb_config.h index 00620d9ed..8285c6b66 100644 --- a/examples/device/uac2_headset/src/tusb_config.h +++ b/examples/device/uac2_headset/src/tusb_config.h @@ -31,6 +31,8 @@ extern "C" { #endif +#include "usb_descriptors.h" + //-------------------------------------------------------------------- // COMMON CONFIGURATION //-------------------------------------------------------------------- @@ -94,6 +96,8 @@ extern "C" { #define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO) #define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO) +#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN TUD_AUDIO_HEADSET_STEREO_DESC_LEN + // Audio format type I specifications #define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX 1 #define CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX 2 |
