Skip to content

Commit d4c7c98

Browse files
committed
fix audio comment error
1 parent 3336fba commit d4c7c98

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/device/audio_4_channel_mic/src/usb_descriptors.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tusb_desc_device_t const desc_device =
4444
.bDescriptorType = TUSB_DESC_DEVICE,
4545
.bcdUSB = 0x0200,
4646

47-
// Use Interface Association Descriptor (IAD) for CDC
47+
// Use Interface Association Descriptor (IAD) for Audio
4848
// As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1)
4949
.bDeviceClass = TUSB_CLASS_MISC,
5050
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
@@ -96,7 +96,7 @@ enum
9696

9797
uint8_t const desc_configuration[] =
9898
{
99-
// Interface count, string index, total length, attribute, power in mA
99+
// Config number, Interface count, string index, total length, attribute, power in mA
100100
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
101101

102102
// Interface number, string index, EP Out & EP In address, EP size

examples/device/audio_test/src/usb_descriptors.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tusb_desc_device_t const desc_device =
4444
.bDescriptorType = TUSB_DESC_DEVICE,
4545
.bcdUSB = 0x0200,
4646

47-
// Use Interface Association Descriptor (IAD) for CDC
47+
// Use Interface Association Descriptor (IAD) for Audio
4848
// As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1)
4949
.bDeviceClass = TUSB_CLASS_MISC,
5050
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
@@ -96,7 +96,7 @@ enum
9696

9797
uint8_t const desc_configuration[] =
9898
{
99-
// Interface count, string index, total length, attribute, power in mA
99+
// Config number, Interface count, string index, total length, attribute, power in mA
100100
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
101101

102102
// Interface number, string index, EP Out & EP In address, EP size

examples/device/audio_test_multi_rate/src/usb_descriptors.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tusb_desc_device_t const desc_device =
4646
.bDescriptorType = TUSB_DESC_DEVICE,
4747
.bcdUSB = 0x0200,
4848

49-
// Use Interface Association Descriptor (IAD) for CDC
49+
// Use Interface Association Descriptor (IAD) for Audio
5050
// As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1)
5151
.bDeviceClass = TUSB_CLASS_MISC,
5252
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
@@ -98,7 +98,7 @@ enum
9898

9999
uint8_t const desc_configuration[] =
100100
{
101-
// Interface count, string index, total length, attribute, power in mA
101+
// Config number, Interface count, string index, total length, attribute, power in mA
102102
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
103103

104104
// Interface number, string index, EP Out & EP In address, EP size

examples/device/uac2_headset/src/usb_descriptors.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tusb_desc_device_t const desc_device =
4646
.bDescriptorType = TUSB_DESC_DEVICE,
4747
.bcdUSB = 0x0200,
4848

49-
// Use Interface Association Descriptor (IAD) for CDC
49+
// Use Interface Association Descriptor (IAD) for Audio
5050
// As required by USB Specs IAD's subclass must be common class (2) and protocol must be IAD (1)
5151
.bDeviceClass = TUSB_CLASS_MISC,
5252
.bDeviceSubClass = MISC_SUBCLASS_COMMON,
@@ -106,7 +106,7 @@ uint8_t const * tud_descriptor_device_cb(void)
106106

107107
uint8_t const desc_configuration[] =
108108
{
109-
// Interface count, string index, total length, attribute, power in mA
109+
// Config number, Interface count, string index, total length, attribute, power in mA
110110
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, 0x00, 100),
111111

112112
// Interface number, string index, EP Out & EP In address, EP size

0 commit comments

Comments
 (0)