@@ -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