Fixed bug #811.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@10024 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
3af7b3c543
commit
fd1a2f9553
|
@ -416,14 +416,12 @@ void usbDisableEndpointsI(USBDriver *usbp) {
|
|||
#if USB_USE_WAIT == TRUE
|
||||
/* Signaling the event to threads waiting on endpoints.*/
|
||||
if (usbp->epc[i] != NULL) {
|
||||
osalSysLockFromISR();
|
||||
if (usbp->epc[i]->in_state != NULL) {
|
||||
osalThreadResumeI(&usbp->epc[i]->in_state->thread, MSG_RESET);
|
||||
}
|
||||
if (usbp->epc[i]->out_state != NULL) {
|
||||
osalThreadResumeI(&usbp->epc[i]->out_state->thread, MSG_RESET);
|
||||
}
|
||||
osalSysUnlockFromISR();
|
||||
}
|
||||
#endif
|
||||
usbp->epc[i] = NULL;
|
||||
|
|
|
@ -71,7 +71,9 @@
|
|||
*****************************************************************************
|
||||
*** Releases and Change Log ***
|
||||
*****************************************************************************
|
||||
|
||||
*** 16.1.7 ***
|
||||
- HAL: Fixed protocol violation in usbDisableEndpointsI() API (bug #811).
|
||||
- HAL: Fixed redefined TIM in STM32F030 registry (bug #809).
|
||||
- HAL: Fixed clock init in STM32F0x port which doesn't take in account
|
||||
PLL_XTPRE and PREDIV_0 are hard-wired (bug #808).
|
||||
|
|
Loading…
Reference in New Issue