From 3cb82507c2744f63e15cb9a947d2db18b0d4a383 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 13 Jan 2016 07:14:39 +0000 Subject: [PATCH] Fixed bug #689. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8744 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/hal_buffers.h | 2 +- readme.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h index bedc56c56..d68554897 100644 --- a/os/hal/include/hal_buffers.h +++ b/os/hal/include/hal_buffers.h @@ -132,7 +132,7 @@ typedef io_buffers_queue_t output_buffers_queue_t; * @param[in] size size of the buffers */ #define BQ_BUFFER_SIZE(n, size) \ - ((size_t)(size) + ((sizeof (size_t)) * (size_t)(n))) + (((size_t)(size) + sizeof (size_t)) * (size_t)(n)) /** * @name Macro Functions diff --git a/readme.txt b/readme.txt index cf0eb2345..bd7df0b34 100644 --- a/readme.txt +++ b/readme.txt @@ -75,8 +75,9 @@ *** Next *** - 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 synchnorous messages are even faster. -- RT: Fixed tm_stop - best case bug (bug #688)(backported to 16.1.0 + into the p_u union. Now synchronous messages are even faster. +- HAL: Fixed error in HAL buffer queues (bug #689)(backported to 16.1.1). +- RT: Fixed tm_stop - best case bug (bug #688)(backported to 16.1.1 and 3.0.5). - ALL: Several minor documentation/formatting-related fixes.