summaryrefslogtreecommitdiff
path: root/examples/device/uac2_headset/src
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-04-03 18:07:18 +0200
committerReinhard Panhuber <[email protected]>2021-04-03 18:07:18 +0200
commite0cb4159542cf41c5ca502106dec66cbbf88f268 (patch)
treec0a68e4cd786ca4b0c5e92fbc0da78e475f1e8ec /examples/device/uac2_headset/src
parentb3e548d2d640673ab2921878e8cabe56e31740c2 (diff)
Fix uac2_headset include hassle be declaring value by hand
Diffstat (limited to 'examples/device/uac2_headset/src')
-rw-r--r--examples/device/uac2_headset/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/uac2_headset/src/tusb_config.h b/examples/device/uac2_headset/src/tusb_config.h
index 514728ac4..4b4570b77 100644
--- a/examples/device/uac2_headset/src/tusb_config.h
+++ b/examples/device/uac2_headset/src/tusb_config.h
@@ -94,7 +94,7 @@ 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
+#define CFG_TUD_AUDIO_FUNC_1_DESC_LEN 220 // This equals TUD_AUDIO_HEADSET_STEREO_DESC_LEN, however, including it from usb_descriptors.h is not possible due to some strange include hassle
// Audio format type I specifications
#define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX 1