projects
/
hackover2013-badge-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f4e53a
)
Fixed issue for FreeBSD instantiation
author
Kevin Townsend
<kevin@ktownsend.com>
Fri, 13 Jan 2012 00:06:58 +0000
(
01:06
+0100)
committer
Kevin Townsend
<kevin@ktownsend.com>
Fri, 13 Jan 2012 00:06:58 +0000
(
01:06
+0100)
core/usbcdc/usbdesc.c
patch
|
blob
|
history
diff --git
a/core/usbcdc/usbdesc.c
b/core/usbcdc/usbdesc.c
index
d523e89
..
2543e4a
100644
(file)
--- a/
core/usbcdc/usbdesc.c
+++ b/
core/usbcdc/usbdesc.c
@@
-74,8
+74,8
@@
const uint8_t USB_ConfigDescriptor[] = {
0x01, /* bNumEndpoints: One endpoint used */
CDC_COMMUNICATION_INTERFACE_CLASS, /* bInterfaceClass: Communication Interface Class */
CDC_ABSTRACT_CONTROL_MODEL, /* bInterfaceSubClass: Abstract Control Model */
0x01, /* bNumEndpoints: One endpoint used */
CDC_COMMUNICATION_INTERFACE_CLASS, /* bInterfaceClass: Communication Interface Class */
CDC_ABSTRACT_CONTROL_MODEL, /* bInterfaceSubClass: Abstract Control Model */
- 0x0
0
, /* bInterfaceProtocol: no protocol used */
- 0x
5E
, /* iInterface: */
+ 0x0
1
, /* bInterfaceProtocol: no protocol used */
+ 0x
00
, /* iInterface: */
/*Header Functional Descriptor*/
0x05, /* bLength: Endpoint Descriptor size */
CDC_CS_INTERFACE, /* bDescriptorType: CS_INTERFACE */
/*Header Functional Descriptor*/
0x05, /* bLength: Endpoint Descriptor size */
CDC_CS_INTERFACE, /* bDescriptorType: CS_INTERFACE */
@@
-85,7
+85,7
@@
const uint8_t USB_ConfigDescriptor[] = {
0x05, /* bFunctionLength */
CDC_CS_INTERFACE, /* bDescriptorType: CS_INTERFACE */
CDC_CALL_MANAGEMENT, /* bDescriptorSubtype: Call Management Func Desc */
0x05, /* bFunctionLength */
CDC_CS_INTERFACE, /* bDescriptorType: CS_INTERFACE */
CDC_CALL_MANAGEMENT, /* bDescriptorSubtype: Call Management Func Desc */
- 0x0
1
, /* bmCapabilities: device handles call management */
+ 0x0
3
, /* bmCapabilities: device handles call management */
0x01, /* bDataInterface: CDC data IF ID */
/*Abstract Control Management Functional Descriptor*/
0x04, /* bFunctionLength */
0x01, /* bDataInterface: CDC data IF ID */
/*Abstract Control Management Functional Descriptor*/
0x04, /* bFunctionLength */
@@
-114,7
+114,7
@@
const uint8_t USB_ConfigDescriptor[] = {
CDC_DATA_INTERFACE_CLASS, /* bInterfaceClass: Data Interface Class */
0x00, /* bInterfaceSubClass: no subclass available */
0x00, /* bInterfaceProtocol: no protocol used */
CDC_DATA_INTERFACE_CLASS, /* bInterfaceClass: Data Interface Class */
0x00, /* bInterfaceSubClass: no subclass available */
0x00, /* bInterfaceProtocol: no protocol used */
- 0x
5E
, /* iInterface: */
+ 0x
00
, /* iInterface: */
/* Endpoint, EP3 Bulk Out */
USB_ENDPOINT_DESC_SIZE, /* bLength */
USB_ENDPOINT_DESCRIPTOR_TYPE, /* bDescriptorType */
/* Endpoint, EP3 Bulk Out */
USB_ENDPOINT_DESC_SIZE, /* bLength */
USB_ENDPOINT_DESCRIPTOR_TYPE, /* bDescriptorType */
This page took
0.029544 seconds
and
4
git commands to generate.