usbstd: Force usb_string_descriptor data field to match unicode string
Fix travis-ci build failure by forcing the data field of the struct usb_string_descriptor to be the same type as a 16bit unicode string. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9ec2ad0992
commit
b3a6fbed74
|
@ -113,7 +113,8 @@ struct usb_endpoint_descriptor {
|
||||||
struct usb_string_descriptor {
|
struct usb_string_descriptor {
|
||||||
uint8_t bLength;
|
uint8_t bLength;
|
||||||
uint8_t bDescriptorType;
|
uint8_t bDescriptorType;
|
||||||
uint16_t data[];
|
//uint16_t data[];
|
||||||
|
typeof(*u"") data[];
|
||||||
} PACKED;
|
} PACKED;
|
||||||
|
|
||||||
#define USB_LANGID_ENGLISH_US 0x0409
|
#define USB_LANGID_ENGLISH_US 0x0409
|
||||||
|
|
Loading…
Reference in New Issue