Fixed bug #883.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_17.6.x@10559 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
8579945da2
commit
96e1897c3b
|
@ -384,7 +384,7 @@ msg_t uartSendTimeout(UARTDriver *uartp, size_t *np,
|
||||||
/* Waiting for result.*/
|
/* Waiting for result.*/
|
||||||
msg = osalThreadSuspendTimeoutS(&uartp->threadtx, timeout);
|
msg = osalThreadSuspendTimeoutS(&uartp->threadtx, timeout);
|
||||||
if (msg != MSG_OK) {
|
if (msg != MSG_OK) {
|
||||||
*np = uartStopSendI(uartp);
|
*np -= uartStopSendI(uartp);
|
||||||
}
|
}
|
||||||
osalSysUnlock();
|
osalSysUnlock();
|
||||||
|
|
||||||
|
@ -475,7 +475,7 @@ msg_t uartReceiveTimeout(UARTDriver *uartp, size_t *np,
|
||||||
/* Waiting for result.*/
|
/* Waiting for result.*/
|
||||||
msg = osalThreadSuspendTimeoutS(&uartp->threadrx, timeout);
|
msg = osalThreadSuspendTimeoutS(&uartp->threadrx, timeout);
|
||||||
if (msg != MSG_OK) {
|
if (msg != MSG_OK) {
|
||||||
*np = uartStopReceiveI(uartp);
|
*np -= uartStopReceiveI(uartp);
|
||||||
}
|
}
|
||||||
osalSysUnlock();
|
osalSysUnlock();
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,7 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 17.6.1 ***
|
*** 17.6.1 ***
|
||||||
|
- HAL: Fixed error in uartReceiveTimeout() and uartSendTimeout() (bug #883).
|
||||||
- HAL: Fixed TIMx DBL field macro broken (bug #880).
|
- HAL: Fixed TIMx DBL field macro broken (bug #880).
|
||||||
- HAL: Fixed STM32 SPI problem in spi_lld_start() (bug #879).
|
- HAL: Fixed STM32 SPI problem in spi_lld_start() (bug #879).
|
||||||
- HAL: Fixed invalid STM32 CAN3 filters initialization (bug #878).
|
- HAL: Fixed invalid STM32 CAN3 filters initialization (bug #878).
|
||||||
|
|
Loading…
Reference in New Issue