From 5872753e2dbdca5b252470c5210cdf54ee1788dd Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 25 Sep 2006 21:23:52 +0000 Subject: - 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 --- firmware/include/usb_ch9.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/include') 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 -- cgit v1.2.3