diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-20 07:44:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-20 07:44:39 +0000 |
commit | ecfdf939f1e54f6666bc3b5d5a2eb595b546cb64 (patch) | |
tree | d87035cb2b5bd54cf290b608ee30c0bd6bcfa1e9 /os | |
parent | b5acdfa3ac49daf31e7a397d6d8912863cf416c6 (diff) | |
download | ChibiOS-ecfdf939f1e54f6666bc3b5d5a2eb595b546cb64.tar.gz ChibiOS-ecfdf939f1e54f6666bc3b5d5a2eb595b546cb64.tar.bz2 ChibiOS-ecfdf939f1e54f6666bc3b5d5a2eb595b546cb64.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32/OTGv1/usb_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c index f81bbc1fb..9d899fd68 100644 --- a/os/hal/platforms/STM32/OTGv1/usb_lld.c +++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c @@ -985,7 +985,7 @@ void usb_lld_reset(USBDriver *usbp) { /* EP0 initialization, it is a special case.*/
usbp->epc[0] = &ep0config;
otgp->oe[0].DOEPTSIZ = 0;
- otgp->oe[0].DOEPCTL = DIEPCTL_SD0PID | DIEPCTL_USBAEP | DIEPCTL_EPTYP_CTRL |
+ otgp->oe[0].DOEPCTL = DOEPCTL_SD0PID | DOEPCTL_USBAEP | DOEPCTL_EPTYP_CTRL |
DOEPCTL_MPSIZ(ep0config.out_maxsize);
otgp->ie[0].DIEPTSIZ = 0;
otgp->ie[0].DIEPCTL = DIEPCTL_SD0PID | DIEPCTL_USBAEP | DIEPCTL_EPTYP_CTRL |
|