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

This commit is contained in:
gdisirio 2012-04-15 19:05:37 +00:00
parent e3bceeeb57
commit 82d784f498
1 changed files with 2 additions and 2 deletions

View File

@ -482,8 +482,8 @@ void usb_lld_start(USBDriver *usbp) {
OTG->DIEPMSK = 0;
OTG->DOEPMSK = 0;
OTG->DAINTMSK = 0;
OTG->GINTMSK = GINTMSK_ENUMDNEM | GINTMSK_USBRSTM | GINTMSK_USBSUSPM |
GINTMSK_ESUSPM | GINTMSK_SOFM;
OTG->GINTMSK = GINTMSK_ENUMDNEM | GINTMSK_USBRSTM | /*GINTMSK_USBSUSPM |
GINTMSK_ESUSPM |*/ GINTMSK_SOFM;
OTG->GINTSTS = 0xFFFFFFFF; /* Clears all pending IRQs, if any. */
/* Global interrupts enable.*/