@@ -347,8 +347,8 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb
347
347
348
348
/* Standard Interface Association Descriptor (IAD) */
349
349
#define TUD_AUDIO_DESC_IAD_LEN 8
350
- #define TUD_AUDIO_DESC_IAD (_firstitfs , _nitfs , _stridx ) \
351
- TUD_AUDIO_DESC_IAD_LEN, TUSB_DESC_INTERFACE_ASSOCIATION, _firstitfs , _nitfs, TUSB_CLASS_AUDIO, AUDIO_FUNCTION_SUBCLASS_UNDEFINED, AUDIO_FUNC_PROTOCOL_CODE_V2, _stridx
350
+ #define TUD_AUDIO_DESC_IAD (_firstitf , _nitfs , _stridx ) \
351
+ TUD_AUDIO_DESC_IAD_LEN, TUSB_DESC_INTERFACE_ASSOCIATION, _firstitf , _nitfs, TUSB_CLASS_AUDIO, AUDIO_FUNCTION_SUBCLASS_UNDEFINED, AUDIO_FUNC_PROTOCOL_CODE_V2, _stridx
352
352
353
353
/* Standard AC Interface Descriptor(4.7.1) */
354
354
#define TUD_AUDIO_DESC_STD_AC_LEN 9
@@ -443,7 +443,7 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb
443
443
444
444
#define TUD_AUDIO_MIC_ONE_CH_DESCRIPTOR (_itfnum , _stridx , _nBytesPerSample , _nBitsUsedPerSample , _epin , _epsize ) \
445
445
/* Standard Interface Association Descriptor (IAD) */ \
446
- TUD_AUDIO_DESC_IAD(/*_firstitfs */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
446
+ TUD_AUDIO_DESC_IAD(/*_firstitf */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
447
447
/* Standard AC Interface Descriptor(4.7.1) */ \
448
448
TUD_AUDIO_DESC_STD_AC (/*_itfnum*/ _itfnum , /*_nEPs*/ 0x00 , /*_stridx*/ _stridx ),\
449
449
/* Class-Specific AC Interface Header Descriptor(4.7.2) */ \
@@ -492,7 +492,7 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb
492
492
493
493
#define TUD_AUDIO_MIC_FOUR_CH_DESCRIPTOR (_itfnum , _stridx , _nBytesPerSample , _nBitsUsedPerSample , _epin , _epsize ) \
494
494
/* Standard Interface Association Descriptor (IAD) */ \
495
- TUD_AUDIO_DESC_IAD (/*_firstitfs */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
495
+ TUD_AUDIO_DESC_IAD (/*_firstitf */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
496
496
/* Standard AC Interface Descriptor(4.7.1) */ \
497
497
TUD_AUDIO_DESC_STD_AC (/*_itfnum*/ _itfnum , /*_nEPs*/ 0x00 , /*_stridx*/ _stridx ),\
498
498
/* Class-Specific AC Interface Header Descriptor(4.7.2) */ \
@@ -540,7 +540,7 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb
540
540
541
541
#define TUD_AUDIO_SPEAKER_MONO_FB_DESCRIPTOR (_itfnum , _stridx , _nBytesPerSample , _nBitsUsedPerSample , _epout , _epsize , _epfb ) \
542
542
/* Standard Interface Association Descriptor (IAD) */ \
543
- TUD_AUDIO_DESC_IAD (/*_firstitfs */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
543
+ TUD_AUDIO_DESC_IAD (/*_firstitf */ _itfnum , /*_nitfs*/ 0x02 , /*_stridx*/ 0x00 ),\
544
544
/* Standard AC Interface Descriptor(4.7.1) */ \
545
545
TUD_AUDIO_DESC_STD_AC (/*_itfnum*/ _itfnum , /*_nEPs*/ 0x00 , /*_stridx*/ _stridx ),\
546
546
/* Class-Specific AC Interface Header Descriptor(4.7.2) */ \
0 commit comments