aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-01-13 07:14:39 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-01-13 07:14:39 +0000
commit3cb82507c2744f63e15cb9a947d2db18b0d4a383 (patch)
tree1018fe2ef5f0ef6b0c4363bfeb535cb0eefed917
parent3717292e801a36a44a583c4e0fddb654f982ab60 (diff)
downloadChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.tar.gz
ChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.tar.bz2
ChibiOS-3cb82507c2744f63e15cb9a947d2db18b0d4a383.zip
Fixed bug #689.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8744 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/include/hal_buffers.h2
-rw-r--r--readme.txt5
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.