summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-06-30 02:08:22 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-06-30 02:08:22 +0200
commit97fb469f4a57d6d4977898b3228d8a9abcdeb706 (patch)
tree0b3e2a403830c46e151b25d2ef2d196f6fc85aa5
parentupdated dualusbio lib and usb-led2 to new lufa (diff)
fixed rndis descriptor
-rw-r--r--lib/lufa-descriptor-rndis.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/lufa-descriptor-rndis.c b/lib/lufa-descriptor-rndis.c
index f8caf0b..0859a47 100644
--- a/lib/lufa-descriptor-rndis.c
+++ b/lib/lufa-descriptor-rndis.c
@@ -178,12 +178,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 =
-{
- .Header = {.Size = USB_STRING_LEN(1), .Type = DTYPE_String},
-
- .UnicodeString = {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