Skip to content

Commit 6198d5f

Browse files
committed
Fix comments
1 parent 223b32c commit 6198d5f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

firmware/src/usb_descriptors.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static const USB_DEVICE_DESCRIPTOR g_device_descriptor = {
7979
0x12, // Size of this descriptor in bytes
8080
USB_DESCRIPTOR_DEVICE, // DEVICE descriptor type
8181
0x0200, // USB Spec Release Number in BCD format
82-
// Since we use a interface Association, we need to set the class, subclass &
82+
// Since we use an Interface Association, we need to set the class, subclass and
8383
// protocol according to:
8484
// https://msdn.microsoft.com/en-us/library/windows/hardware/ff540054(v=vs.85).aspx
8585
0xef, // Class Code
@@ -111,8 +111,8 @@ static const uint8_t g_config_descriptor[] = {
111111
// Interface Association Descriptor: CDC Function 1
112112
0x08, // Size of this descriptor in bytes
113113
0x0B, // Interface association descriptor type
114-
0, // The first associated interfaces
115-
0x02, // Number of contiguous associated interface
114+
0, // The first associated interface
115+
0x02, // Number of contiguous associated interfaces
116116
0x02, // bInterfaceClass of the first interface
117117
0x02, // bInterfaceSubclass of the first interface
118118
0x01, // bInterfaceProtocol of the first interface

0 commit comments

Comments
 (0)