git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4097 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
e3bceeeb57
commit
82d784f498
|
@ -482,8 +482,8 @@ void usb_lld_start(USBDriver *usbp) {
|
||||||
OTG->DIEPMSK = 0;
|
OTG->DIEPMSK = 0;
|
||||||
OTG->DOEPMSK = 0;
|
OTG->DOEPMSK = 0;
|
||||||
OTG->DAINTMSK = 0;
|
OTG->DAINTMSK = 0;
|
||||||
OTG->GINTMSK = GINTMSK_ENUMDNEM | GINTMSK_USBRSTM | GINTMSK_USBSUSPM |
|
OTG->GINTMSK = GINTMSK_ENUMDNEM | GINTMSK_USBRSTM | /*GINTMSK_USBSUSPM |
|
||||||
GINTMSK_ESUSPM | GINTMSK_SOFM;
|
GINTMSK_ESUSPM |*/ GINTMSK_SOFM;
|
||||||
OTG->GINTSTS = 0xFFFFFFFF; /* Clears all pending IRQs, if any. */
|
OTG->GINTSTS = 0xFFFFFFFF; /* Clears all pending IRQs, if any. */
|
||||||
|
|
||||||
/* Global interrupts enable.*/
|
/* Global interrupts enable.*/
|
||||||
|
|
Loading…
Reference in New Issue