aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/caterina/Descriptors.c
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-04-25 15:56:18 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2012-04-25 15:56:18 -0400
commitd755d0035d4e3a816c127fd8207722bfe6629eee (patch)
tree5abcc668b7ce86cf538f6f3e6ad3c0221410251f /bootloaders/caterina/Descriptors.c
parent6ae1a1723561266767ed1ba39ae61c35ea263162 (diff)
changed PID values for Leonardo bootloader and sketch
done to avoid driver problems for users who installed the pre-release bootloader and driver
Diffstat (limited to 'bootloaders/caterina/Descriptors.c')
-rwxr-xr-xbootloaders/caterina/Descriptors.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bootloaders/caterina/Descriptors.c b/bootloaders/caterina/Descriptors.c
index e0d3304..c5feaf5 100755
--- a/bootloaders/caterina/Descriptors.c
+++ b/bootloaders/caterina/Descriptors.c
@@ -193,7 +193,7 @@ const USB_Descriptor_String_t ProductString =
{
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
- #if DEVICE_PID == 0x0034
+ #if DEVICE_PID == 0x0036
.UnicodeString = L"Arduino Leonardo"
#else
.UnicodeString = L"USB IO board "
@@ -204,7 +204,11 @@ const USB_Descriptor_String_t ManufNameString =
{
.Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},
+ #if DEVICE_VID == 0x2341
.UnicodeString = L"Arduino LLC"
+ #else
+ .UnicodeString = L"Unknown "
+ #endif
};
/** This function is called by the library when in device mode, and must be overridden (see LUFA library "USB Descriptors"