aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mit.edu>2011-09-18 19:17:54 -0400
committerRJ Ryan <rryan@mit.edu>2011-09-18 19:17:54 -0400
commita434d6b99b140ee3f489370d01e12cb1db210376 (patch)
tree0ea3d8e8aeffd61a7e6361f0c054452e63737831 /libmaple/usb
parent7cb0bf6923fe613016cd83c511187539e0709af1 (diff)
downloadlibrambutan-a434d6b99b140ee3f489370d01e12cb1db210376.tar.gz
librambutan-a434d6b99b140ee3f489370d01e12cb1db210376.zip
Missed one hard-coded structure size.
Signed-off-by: RJ Ryan <rryan@mit.edu>
Diffstat (limited to 'libmaple/usb')
-rw-r--r--libmaple/usb/usb_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/usb/usb_callbacks.c b/libmaple/usb/usb_callbacks.c
index 9694942..890a97f 100644
--- a/libmaple/usb/usb_callbacks.c
+++ b/libmaple/usb/usb_callbacks.c
@@ -14,7 +14,7 @@ ONE_DESCRIPTOR Device_Descriptor = {
ONE_DESCRIPTOR Config_Descriptor = {
(uint8*)&usbVcomDescriptor_Config,
- 0x43//sizeof(USB_Descriptor_Config)
+ sizeof(USB_Descriptor_Config)
};
ONE_DESCRIPTOR String_Descriptor[3] = {