From 82d784f49832b7cf9257eca1803b43b21af7973d Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 15 Apr 2012 19:05:37 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4097 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/OTGv1/usb_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c index 580532b60..009d9712c 100644 --- a/os/hal/platforms/STM32/OTGv1/usb_lld.c +++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c @@ -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.*/