aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2014-01-08 10:41:16 +1100
committerDean Camera <dean@fourwalledcubicle.com>2014-01-08 10:41:16 +1100
commit832817548235e93e0be54bbe6986135aca170944 (patch)
tree4ed7546edeb3eb55c37301bb2380a0edd3e0ef33 /Demos/DualRole
parentdeb1675f84aa96395845012a39513b69bc2ccb36 (diff)
downloadlufa-832817548235e93e0be54bbe6986135aca170944.tar.gz
lufa-832817548235e93e0be54bbe6986135aca170944.tar.bz2
lufa-832817548235e93e0be54bbe6986135aca170944.zip
Add USB_STRING_DESCRIPTOR_ARRAY() macro, update demos where required.
Diffstat (limited to 'Demos/DualRole')
-rw-r--r--Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c b/Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c
index 08c969dc2..bcd5b5872 100644
--- a/Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c
+++ b/Demos/DualRole/ClassDriver/MouseHostDevice/Descriptors.c
@@ -147,7 +147,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
* the string descriptor with index 0 (the first index). It is actually an array of 16-bit integers, which indicate
* via the language ID table available at USB.org what languages the device supports for its string descriptors.
*/
-const USB_Descriptor_String_t PROGMEM LanguageString = USB_STRING_DESCRIPTOR(LANGUAGE_ID_ENG);
+const USB_Descriptor_String_t PROGMEM LanguageString = USB_STRING_DESCRIPTOR_ARRAY(LANGUAGE_ID_ENG);
/** Manufacturer descriptor string. This is a Unicode string containing the manufacturer's details in human readable
* form, and is read out upon request by the host when the appropriate string ID is requested, listed in the Device