summaryrefslogtreecommitdiffstats
path: root/usb/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb/usb.c')
-rw-r--r--usb/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usb/usb.c b/usb/usb.c
index a8cbbf8..c37fc5f 100644
--- a/usb/usb.c
+++ b/usb/usb.c
@@ -15,8 +15,9 @@
/* TODO: Only use the number of endpoints that are needed */
/* TODO: Try using static */
+/* TODO: Try [16][2][2] since everything is contiguous. */
__attribute__ ((aligned(512)))
-struct usb0_bd usb_bdt[16 * 4];
+volatile struct usb0_bd usb_bdt[16 * 4];
/* usb_setup: Setup function for USB subsystem */
void usb_setup(void)