summaryrefslogtreecommitdiff
path: root/firmware/include/usb_ch9.h
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:23:52 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:23:52 +0000
commit5872753e2dbdca5b252470c5210cdf54ee1788dd (patch)
tree4ef919205c8cf5a1864a9fe24a3a6783cb563e2e /firmware/include/usb_ch9.h
parent6b13ecdab08a28deadb4e947cbab740d02352617 (diff)
- Include tool for Converting ASCII to UTF-16LE in C-Header
- Build UTF-16LE USB String descriptors from ASCII File - Introduce USB String Descriptor to DFU and runtime firmware git-svn-id: https://svn.openpcd.org:2342/trunk@227 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/include/usb_ch9.h')
-rw-r--r--firmware/include/usb_ch9.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/usb_ch9.h b/firmware/include/usb_ch9.h
index 82edf61..46066f2 100644
--- a/firmware/include/usb_ch9.h
+++ b/firmware/include/usb_ch9.h
@@ -257,7 +257,7 @@ struct usb_string_descriptor {
u_int8_t bLength;
u_int8_t bDescriptorType;
- u_int16_t wData[1]; /* UTF-16LE encoded */
+ u_int16_t wData[0]; /* UTF-16LE encoded */
} __attribute__ ((packed));
/* note that "string" zero is special, it holds language codes that
personal git repositories of Harald Welte. Your mileage may vary