Browse Source

Fix uac2_headset include hassle be declaring value by hand

Reinhard Panhuber 5 years ago
parent
commit
e0cb415954
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/device/uac2_headset/src/tusb_config.h

+ 1 - 1
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