From e2e0260094c762fddf4669b7a957914405ae9f19 Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Mon, 9 Apr 2012 10:12:14 -0400 Subject: Micro I hardly knew ye --- bootloaders/caterina/Descriptors.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'bootloaders/caterina/Descriptors.c') 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; -- cgit v1.2.3-18-g5258