aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.