aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/OTGv1/usb_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/OTGv1/usb_lld.c')
-rw-r--r--os/hal/platforms/STM32/OTGv1/usb_lld.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/usb_lld.c b/os/hal/platforms/STM32/OTGv1/usb_lld.c
index 6b8a0a76e..5c00803f9 100644
--- a/os/hal/platforms/STM32/OTGv1/usb_lld.c
+++ b/os/hal/platforms/STM32/OTGv1/usb_lld.c
@@ -939,10 +939,7 @@ void usb_lld_reset(USBDriver *usbp) {
unsigned i;
stm32_otg_t *otgp = usbp->otg;
- /* Clear the Remote Wake-up Signaling */
- otgp->DCTL &= ~DCTL_RWUSIG;
-
- /* Flush the Tx FIFO */
+ /* Flush the Tx FIFO.*/
otg_txfifo_flush(otgp, 0);
/* All endpoints in NAK mode, interrupts cleared.*/