aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-09-15 22:13:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-09-15 22:13:51 +0000
commitfc2cbe07005f3359a5a3f25f3b0972f73a2570e9 (patch)
treef76e60bbaaf3ebe2ca9c43b0c7680f0c15c9a7b6 /Bootloaders/DFU/Descriptors.c
parentc8f7cf7621e8c0ec9566b918a81de9726b75e0ef (diff)
downloadlufa-fc2cbe07005f3359a5a3f25f3b0972f73a2570e9.tar.gz
lufa-fc2cbe07005f3359a5a3f25f3b0972f73a2570e9.tar.bz2
lufa-fc2cbe07005f3359a5a3f25f3b0972f73a2570e9.zip
Shorten the product string descriptors in the CDC and DFU bootloaders to ensure that differences in the toolchain version don't push it over a binary size boundary.
Diffstat (limited to 'Bootloaders/DFU/Descriptors.c')
-rw-r--r--Bootloaders/DFU/Descriptors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bootloaders/DFU/Descriptors.c b/Bootloaders/DFU/Descriptors.c
index 95534bdac..7e6043d03 100644
--- a/Bootloaders/DFU/Descriptors.c
+++ b/Bootloaders/DFU/Descriptors.c
@@ -143,9 +143,9 @@ const USB_Descriptor_String_t ManufacturerString =
*/
const USB_Descriptor_String_t ProductString =
{
- .Header = {.Size = USB_STRING_LEN(19), .Type = DTYPE_String},
+ .Header = {.Size = USB_STRING_LEN(8), .Type = DTYPE_String},
- .UnicodeString = L"LUFA DFU Bootloader"
+ .UnicodeString = L"LUFA DFU"
};
/** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors"