Fixed bug #566.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7779 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
471877bf14
commit
06b66b49e4
|
@ -515,11 +515,11 @@ static bool otg_txfifo_handler(USBDriver *usbp, usbep_t ep) {
|
|||
n);
|
||||
usbp->epc[ep]->in_state->mode.linear.txbuf += n;
|
||||
}
|
||||
usbp->epc[ep]->in_state->txcnt += n;
|
||||
}
|
||||
#if STM32_USB_OTGFIFO_FILL_BASEPRI
|
||||
__set_BASEPRI(0);
|
||||
#endif
|
||||
usbp->epc[ep]->in_state->txcnt += n;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue