git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8841 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Giovanni Di Sirio 2016-02-06 11:35:15 +00:00
parent 58f6ed1b07
commit 3a738fed20
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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)