aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-08-04 18:27:56 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-08-04 18:43:48 -0400
commit0d39520529ef9ed8b002137ac0a9a375992a55c8 (patch)
tree19642f73d3cc4cda759a7a0e1e010d5992baf946 /libmaple/include
parent6f15f28f3a2cda872ed1eba97bdf39fa708e3937 (diff)
downloadlibrambutan-0d39520529ef9ed8b002137ac0a9a375992a55c8.tar.gz
librambutan-0d39520529ef9ed8b002137ac0a9a375992a55c8.zip
<libmaple/usb.h>: Fix usb_descriptor_string.
uint16 is the wrong type for the bString array. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/usb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/include/libmaple/usb.h b/libmaple/include/libmaple/usb.h
index d464422..2be5971 100644
--- a/libmaple/include/libmaple/usb.h
+++ b/libmaple/include/libmaple/usb.h
@@ -111,9 +111,9 @@ typedef struct usb_descriptor_endpoint {
} __packed usb_descriptor_endpoint;
typedef struct usb_descriptor_string {
- uint8 bLength;
- uint8 bDescriptorType;
- uint16 bString[];
+ uint8 bLength;
+ uint8 bDescriptorType;
+ uint8 bString[];
} usb_descriptor_string;
/* Common values that go inside descriptors */