mirror of https://github.com/rusefi/ChibiOS.git
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:
parent
7da97fec6a
commit
8204b9ce59
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue