Fixed bug #701.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8841 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
58f6ed1b07
commit
3a738fed20
|
@ -855,7 +855,7 @@ void obqFlush(output_buffers_queue_t *obqp) {
|
|||
|
||||
/* If there is a buffer partially filled and not being written.*/
|
||||
if (obqp->ptr != NULL) {
|
||||
size_t size = (size_t)obqp->ptr - (size_t)obqp->bwrptr;
|
||||
size_t size = (size_t)obqp->ptr - (size_t)obqp->bwrptr - sizeof (size_t);
|
||||
|
||||
if (size > 0U) {
|
||||
obqPostFullBufferS(obqp, size);
|
||||
|
|
|
@ -76,9 +76,10 @@
|
|||
- RT: Removed the p_msg field from the thread_t structure saving a
|
||||
msg_t-sized field from the structure. Messages now use a new field
|
||||
into the p_u union. Now synchronous messages are even faster.
|
||||
- HAL: Fixed error is buffer queues (bug #701)(backported to 16.1.3).
|
||||
- HAL: Fixed F105_F107 CANv1 build failure (bug #699).
|
||||
- HAL: Fixed typos in STM32F0 RCC enable/disable macros (bug #698)(backported
|
||||
to 16.1.2).
|
||||
to 16.1.3).
|
||||
- RT: Fixed useless call to chTMStartMeasurementX() in _thread_init()
|
||||
(bug #697)(backported to 3.0.6 and 16.1.3).
|
||||
- VAR: Fixed missing time conversion in lwIP arch module (bug #696)
|
||||
|
|
Loading…
Reference in New Issue