git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6627 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2014-01-18 08:56:54 +00:00
parent 987e86b8c8
commit e44be744f2
2 changed files with 4 additions and 2 deletions

View File

@ -549,7 +549,7 @@ static void otg_epin_handler(USBDriver *usbp, usbep_t ep) {
stm32_otg_t *otgp = usbp->otg; stm32_otg_t *otgp = usbp->otg;
uint32_t epint = otgp->ie[ep].DIEPINT; uint32_t epint = otgp->ie[ep].DIEPINT;
otgp->ie[ep].DIEPINT = 0xFFFFFFFF; otgp->ie[ep].DIEPINT = epint;
if (epint & DIEPINT_TOC) { if (epint & DIEPINT_TOC) {
/* Timeouts not handled yet, not sure how to handle.*/ /* Timeouts not handled yet, not sure how to handle.*/
@ -582,7 +582,7 @@ static void otg_epout_handler(USBDriver *usbp, usbep_t ep) {
uint32_t epint = otgp->oe[ep].DOEPINT; uint32_t epint = otgp->oe[ep].DOEPINT;
/* Resets all EP IRQ sources.*/ /* Resets all EP IRQ sources.*/
otgp->oe[ep].DOEPINT = 0xFFFFFFFF; otgp->oe[ep].DOEPINT = epint;
if ((epint & DOEPINT_STUP) && (otgp->DOEPMSK & DOEPMSK_STUPM)) { if ((epint & DOEPINT_STUP) && (otgp->DOEPMSK & DOEPMSK_STUPM)) {
/* Setup packets handling, setup packets are handled using a /* Setup packets handling, setup packets are handled using a

View File

@ -89,6 +89,8 @@
***************************************************************************** *****************************************************************************
*** 2.7.0 *** *** 2.7.0 ***
- FIX: Fixed race condition in STM32 OTG driver (bug #457)(backported
to 2.6.3).
- FIX: Fixed memstreams.c missing from simulator makefiles (bug #454) - FIX: Fixed memstreams.c missing from simulator makefiles (bug #454)
(backported to 2.6.3). (backported to 2.6.3).
- FIX: Fixed chprintf() does not compile in strict C90 mode (bug #453) - FIX: Fixed chprintf() does not compile in strict C90 mode (bug #453)