Skip to content

Commit

Permalink
Merge pull request #1360 from ccrome/uac2_headset_descriptor_update
Browse files Browse the repository at this point in the history
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.
  • Loading branch information
hathach committed Mar 9, 2022
2 parents 8bf1843 + 1b338b2 commit 0d8be7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/device/uac2_headset/src/usb_descriptors.h
Expand Up @@ -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) */\
Expand Down

0 comments on commit 0d8be7f

Please sign in to comment.