git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4588 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-08-20 07:44:39 +00:00
parent b5acdfa3ac
commit ecfdf939f1
1 changed files with 1 additions and 1 deletions

View File

@ -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 |