aboutsummaryrefslogtreecommitdiff
path: root/example-fs-bb48
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-05-23 17:36:31 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-05-23 17:36:31 +0900
commit8ba91f5db6ec51174eed0da5563a0a6ea9ed3136 (patch)
tree6c9809050164ed1c5f502dc6aa5ca9ea87f73cbe /example-fs-bb48
parentb6603f677159b72a8165a5475dad525947889881 (diff)
Fix example-fs-bb48 to support 16 endpoints
Diffstat (limited to 'example-fs-bb48')
-rw-r--r--example-fs-bb48/usb_kl27z.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example-fs-bb48/usb_kl27z.c b/example-fs-bb48/usb_kl27z.c
index e9ca7b6..a7b8723 100644
--- a/example-fs-bb48/usb_kl27z.c
+++ b/example-fs-bb48/usb_kl27z.c
@@ -147,7 +147,7 @@ kl27z_usb_init (void)
int i;
memset (ep, 0, sizeof (ep));
- memset (BD_table, 0, 10 * sizeof (struct BD));
+ memset (BD_table, 0, 16 * 2 * 2 * sizeof (struct BD));
/* D+ pull up */
USB_CTRL0->OTGCTL = 0x80;