Fixed bug #1211.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15373 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
6c7fea3775
commit
57b011ad0e
|
@ -465,6 +465,9 @@ msg_t sioSynchronizeRX(SIODriver *siop, sysinterval_t timeout) {
|
||||||
while (sio_lld_is_rx_empty(siop)) {
|
while (sio_lld_is_rx_empty(siop)) {
|
||||||
/*lint -restore*/
|
/*lint -restore*/
|
||||||
msg = osalThreadSuspendTimeoutS(&siop->sync_rx, timeout);
|
msg = osalThreadSuspendTimeoutS(&siop->sync_rx, timeout);
|
||||||
|
if (msg != MSG_OK) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
osalSysUnlock();
|
osalSysUnlock();
|
||||||
|
@ -502,6 +505,9 @@ msg_t sioSynchronizeTX(SIODriver *siop, sysinterval_t timeout) {
|
||||||
while (sio_lld_is_tx_full(siop)) {
|
while (sio_lld_is_tx_full(siop)) {
|
||||||
/*lint -restore*/
|
/*lint -restore*/
|
||||||
msg = osalThreadSuspendTimeoutS(&siop->sync_tx, timeout);
|
msg = osalThreadSuspendTimeoutS(&siop->sync_tx, timeout);
|
||||||
|
if (msg != MSG_OK) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
osalSysUnlock();
|
osalSysUnlock();
|
||||||
|
|
|
@ -110,6 +110,8 @@
|
||||||
ARMv7-M and ARMv8-M-ML.
|
ARMv7-M and ARMv8-M-ML.
|
||||||
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
|
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
|
||||||
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
|
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
|
||||||
|
- FIX: Fixed missing exit condition in sioSynchronizeRX() and
|
||||||
|
sioSynchronizeTX() (bug #1211)(backported to 21.11.2).
|
||||||
- FIX: Fixed missing check in chobjcaches.h (bug #1210)
|
- FIX: Fixed missing check in chobjcaches.h (bug #1210)
|
||||||
(backported to 20.3.5)(backported to 21.11.2).
|
(backported to 20.3.5)(backported to 21.11.2).
|
||||||
- FIX: Fixed misspelled chTraceSuspendI() function name (bug #1209)
|
- FIX: Fixed misspelled chTraceSuspendI() function name (bug #1209)
|
||||||
|
|
Loading…
Reference in New Issue