Added wakeup bit clear on interrupt.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10571 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2017-09-09 11:23:11 +00:00
parent 7da97fec6a
commit 8204b9ce59
1 changed files with 3 additions and 0 deletions

View File

@ -556,6 +556,9 @@ static void usb_lld_serve_interrupt(USBDriver *usbp) {
otgp->PCGCCTL &= ~(PCGCCTL_STPPCLK | PCGCCTL_GATEHCLK); otgp->PCGCCTL &= ~(PCGCCTL_STPPCLK | PCGCCTL_GATEHCLK);
} }
/* Clear the Remote Wake-up Signaling.*/
otgp->DCTL &= ~DCTL_RWUSIG;
_usb_wakeup(usbp); _usb_wakeup(usbp);
} }