From d2e7c6170752b085bbfed155308511790984ccab Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 20 Sep 2012 21:19:29 +0200 Subject: Improved USB driver. --- usb/dwc_otg_def.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usb/dwc_otg_def.h') diff --git a/usb/dwc_otg_def.h b/usb/dwc_otg_def.h index 2f19116..6ed6ba8 100644 --- a/usb/dwc_otg_def.h +++ b/usb/dwc_otg_def.h @@ -23,9 +23,7 @@ class DWC_OTG_t { volatile uint32_t CID; uint32_t _reserved1[48]; volatile uint32_t HPTXFSIZ; - volatile uint32_t DIEPTXF1; - volatile uint32_t DIEPTXF2; - volatile uint32_t DIEPTXF3; + volatile uint32_t DIEPTXF[5]; }; struct DWC_OTG_dev_reg_t { -- cgit v1.2.3