Skip to content

Commit 36d05a5

Browse files
committed
update comment for CMSIS_DAP
1 parent 3b9b6bd commit 36d05a5

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

  • ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB/CMSIS_DAP/src/CMSIS_DAPusb

ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB/CMSIS_DAP/src/CMSIS_DAPusb/USBconstant.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,21 @@ __code uint8_t CfgDesc[] ={
4444
0x22, /* Descriptor type. */
4545
sizeof(ReportDesc) & 0xff,sizeof(ReportDesc) >> 8, /* Total length of report descriptor. */
4646

47-
/* EP Descriptor: interrupt in. */
48-
0x07, /* bLength */
49-
0x05, /* bDescriptorType */
50-
0x01, /* bEndpointAddress */
51-
0x03, /* bmAttributes */
52-
0x40, 0x00, /* wMaxPacketSize */
53-
1, /* bInterval */
47+
// EP Descriptor: interrupt OUT.
48+
0x07, // bLength
49+
0x05, // bDescriptorType
50+
0x01, // bEndpointAddress EP1 OUT
51+
0x03, // bmAttributes
52+
0x40, 0x00, // wMaxPacketSize
53+
1, // bInterval
5454

55-
/* EP Descriptor: interrupt out. */
56-
0x07, /* bLength */
57-
0x05, /* bDescriptorType */
58-
0x81, /* bEndpointAddress */
59-
0x03, /* bmAttributes */
60-
0x40, 0x00, /* wMaxPacketSize */
61-
1 /* bInterval */
55+
// EP Descriptor: interrupt IN.
56+
0x07, // bLength
57+
0x05, // bDescriptorType
58+
0x81, // bEndpointAddress EP1 IN
59+
0x03, // bmAttributes
60+
0x40, 0x00, // wMaxPacketSize
61+
1, // bInterval
6262

6363

6464
};

0 commit comments

Comments
 (0)