diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2012-04-09 10:12:14 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2012-04-09 10:12:14 -0400 |
commit | e2e0260094c762fddf4669b7a957914405ae9f19 (patch) | |
tree | 428fc36382c1b64ba63ff2c2e3bf34925eac1c95 /bootloaders/caterina/Descriptors.c | |
parent | f9a4a4362d6457adb598ca7f52e409df9defbee3 (diff) |
Micro I hardly knew ye
Diffstat (limited to 'bootloaders/caterina/Descriptors.c')
-rwxr-xr-x | bootloaders/caterina/Descriptors.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/bootloaders/caterina/Descriptors.c b/bootloaders/caterina/Descriptors.c index 824e0dd..e0d3304 100755 --- a/bootloaders/caterina/Descriptors.c +++ b/bootloaders/caterina/Descriptors.c @@ -195,20 +195,11 @@ const USB_Descriptor_String_t ProductString = #if DEVICE_PID == 0x0034
.UnicodeString = L"Arduino Leonardo"
- #elif DEVICE_PID == 0x0035
- .UnicodeString = L"Arduino Micro "
- #else
+ #else
.UnicodeString = L"USB IO board "
#endif
};
-/*
-const USB_Descriptor_String_t SerialNumString =
-{
- .Header = {.Size = USB_STRING_LEN(12), .Type = DTYPE_String},
-
- .UnicodeString = L"000000001452"
-};
-*/
+
const USB_Descriptor_String_t ManufNameString =
{
.Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},
@@ -252,10 +243,6 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, {
Address = &ProductString;
Size = ProductString.Header.Size;
-// } else if (DescriptorNumber == DeviceDescriptor.SerialNumStrIndex)
-// {
-// Address = &SerialNumString;
-// Size = SerialNumString.Header.Size;
} else if (DescriptorNumber == DeviceDescriptor.ManufacturerStrIndex)
{
Address = &ManufNameString;
|