summaryrefslogtreecommitdiffstats
path: root/usb/bdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'usb/bdt.h')
-rw-r--r--usb/bdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb/bdt.h b/usb/bdt.h
index 5f0a123..2945e2b 100644
--- a/usb/bdt.h
+++ b/usb/bdt.h
@@ -3,7 +3,7 @@
#include <reg/usbotg.h>
-extern struct usb0_bd usb_bdt[4 * 16];
+extern volatile struct usb0_bd usb_bdt[4 * 16];
#define BDT_ENDPT(n, tx, odd) (usb_bdt[(n) << 2 | (tx & 1) << 1 | (odd & 1)])
#define BDT_RX 0