summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-01-22 23:33:57 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-01-22 23:33:57 +0100
commite9a6cb2cd5f42fe0864bf0430e5169fee92b9d31 (patch)
tree49b7a78d15b20b361e288682a8e8833a465f959a
parentc9726505130797f21f6f4cc06ea55f289b9dcad2 (diff)
Fixed register offsets.
-rw-r--r--hal/usb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hal/usb.h b/hal/usb.h
index 9596f44..5acb721 100644
--- a/hal/usb.h
+++ b/hal/usb.h
@@ -16,9 +16,10 @@ struct USB_reg_t {
volatile uint32_t GRXFSIZ;
volatile uint32_t DIEPTXF0;
volatile uint32_t HNPTXSTS;
+ uint32_t _reserved[2];
volatile uint32_t GCCFG;
volatile uint32_t CID;
- uint32_t _reserved[49];
+ uint32_t _reserved1[48];
volatile uint32_t HPTXFSIZ;
volatile uint32_t DIEPTXF1;
volatile uint32_t DIEPTXF2;