diff options
| author | Ha Thach <[email protected]> | 2022-03-09 09:31:05 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-09 09:31:05 +0700 |
| commit | 0d8be7fd3a995d342455418f40da4967bbdde705 (patch) | |
| tree | 6983ab34a0a74c67c177605e3fda1c790dca9cfc /examples/device | |
| parent | 8bf18430b8d91104aa926ac3095a9e5dd94ef503 (diff) | |
| parent | 1b338b288c3e1b91f8b2b77ef3305142188f922e (diff) | |
Merge pull request #1360 from ccrome/uac2_headset_descriptor_update
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/uac2_headset/src/usb_descriptors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/uac2_headset/src/usb_descriptors.h b/examples/device/uac2_headset/src/usb_descriptors.h index d9510ea4f..342b4fac1 100644 --- a/examples/device/uac2_headset/src/usb_descriptors.h +++ b/examples/device/uac2_headset/src/usb_descriptors.h @@ -86,7 +86,7 @@ enum #define TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR(_stridx, _epout, _epin) \ /* Standard Interface Association Descriptor (IAD) */\ - TUD_AUDIO_DESC_IAD(/*_firstitfs*/ ITF_NUM_AUDIO_CONTROL, /*_nitfs*/ ITF_NUM_TOTAL, /*_stridx*/ 0x00),\ + TUD_AUDIO_DESC_IAD(/*_firstitfs*/ ITF_NUM_AUDIO_CONTROL, /*_nitfs*/ 3, /*_stridx*/ 0x00),\ /* Standard AC Interface Descriptor(4.7.1) */\ TUD_AUDIO_DESC_STD_AC(/*_itfnum*/ ITF_NUM_AUDIO_CONTROL, /*_nEPs*/ 0x00, /*_stridx*/ _stridx),\ /* Class-Specific AC Interface Header Descriptor(4.7.2) */\ |
