summaryrefslogtreecommitdiff
path: root/stm/lib/usbd_desc.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-13 19:02:15 +0100
committerDamien <damien.p.george@gmail.com>2013-10-13 19:02:15 +0100
commitfee89d520fb02b6fb673050c9d2043e14641edf6 (patch)
tree65fc7a33667e8147c983ed9925ff9fb30d63199c /stm/lib/usbd_desc.h
parented65605edc5c1376947a34723b9c750400b5a028 (diff)
Implement crude but functional CDC + MSC USB device.
Diffstat (limited to 'stm/lib/usbd_desc.h')
-rw-r--r--stm/lib/usbd_desc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/lib/usbd_desc.h b/stm/lib/usbd_desc.h
index e28e14ae0..c6da3158b 100644
--- a/stm/lib/usbd_desc.h
+++ b/stm/lib/usbd_desc.h
@@ -50,6 +50,7 @@
#define USB_STRING_DESCRIPTOR_TYPE 0x03
#define USB_INTERFACE_DESCRIPTOR_TYPE 0x04
#define USB_ENDPOINT_DESCRIPTOR_TYPE 0x05
+#define USB_INTERFACE_ASSOCIATION_TYPE 0x0b
#define USB_SIZ_DEVICE_DESC 18
#define USB_SIZ_STRING_LANGID 4
@@ -77,7 +78,7 @@
/** @defgroup USBD_DESC_Exported_Variables
* @{
*/
-extern uint8_t USBD_DeviceDesc [USB_SIZ_DEVICE_DESC];
+//extern uint8_t USBD_DeviceDesc [USB_SIZ_DEVICE_DESC];
extern uint8_t USBD_StrDesc[USB_MAX_STR_DESC_SIZ];
extern uint8_t USBD_OtherSpeedCfgDesc[USB_LEN_CFG_DESC];
extern uint8_t USBD_DeviceQualifierDesc[USB_LEN_DEV_QUALIFIER_DESC];