git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15479 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2022-03-10 13:23:14 +00:00
parent d9c58a104b
commit 5fdb9afce9
3 changed files with 4 additions and 2 deletions

View File

@ -586,7 +586,7 @@ size_t sio_lld_read(SIODriver *siop, uint8_t *buffer, size_t n) {
}
/* Buffer filled condition.*/
if (rd > n) {
if (rd >= n) {
break;
}

View File

@ -594,7 +594,7 @@ size_t sio_lld_read(SIODriver *siop, uint8_t *buffer, size_t n) {
}
/* Buffer filled condition.*/
if (rd > n) {
if (rd >= n) {
break;
}

View File

@ -120,6 +120,8 @@
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
- FIX: Reverted bug #1100 (backported to 20.3.5)(backported to 21.11.2).
- FIX: Fixed wrong condition in STM32 sio_lld_read() function (bug #1219)
(backported to 20.3.5)(backported to 21.11.2).
- FIX: Fixed clock re-initialization problem in STM32 USARTv2 and USARTv3
drivers (bug #1217)(backported to 21.11.2).
- FIX: Fixed assertion on initialization of STM32H7xx (bug #1216)