aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina/Descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloaders/caterina/Descriptors.c')
-rwxr-xr-xbootloaders/caterina/Descriptors.c17
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;