aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina/src/USBDesc.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-01-10 20:52:57 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-01-10 20:52:57 -0500
commit385679caf2e6ad9502b5fe16f594225b8e82f890 (patch)
treebbd05c61d770f5b5e24ee812bcc47dc26df5163b /bootloaders/caterina/src/USBDesc.cpp
parent29e4d73a55b1ba5782d9a1491ab9e1c1331a6b8a (diff)
restored composite and non-composite device descriptors (removed in 4b05c3fc7529477fb7031d42103c15b50a6b58be)
Windows wants to see both types of device descriptors.
Diffstat (limited to 'bootloaders/caterina/src/USBDesc.cpp')
-rw-r--r--bootloaders/caterina/src/USBDesc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloaders/caterina/src/USBDesc.cpp b/bootloaders/caterina/src/USBDesc.cpp
index a634d4d..a84f3be 100644
--- a/bootloaders/caterina/src/USBDesc.cpp
+++ b/bootloaders/caterina/src/USBDesc.cpp
@@ -46,8 +46,8 @@ const uint16_t STRING_IMANUFACTURER[12] = {
'A','r','d','u','i','n','o',' ','L','L','C'
};
-
-DeviceDescriptor USB_DeviceDescriptor = D_DEVICE(0X02,0X00,0X00,64,USB_VID,USB_PID,0x100,0,IPRODUCT,ISERIAL,1);
+DeviceDescriptor USB_DeviceDescriptorA = D_DEVICE(0X02,0X00,0X00,64,USB_VID,USB_PID,0x100,0,IPRODUCT,ISERIAL,1);
+DeviceDescriptor USB_DeviceDescriptor = D_DEVICE(0x00,0x00,0x00,64,USB_VID,USB_PID,0x100,0,IPRODUCT,ISERIAL,1);
Config USB_ConfigDescriptor =
{