From f42818b0a2bf0596c02830b761c365776a9194a7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 27 Oct 2018 11:42:06 +0000 Subject: Small documentation fix in hal_buffers and a new macro added. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12394 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/include/hal_buffers.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os/hal/include/hal_buffers.h') diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h index 2a9c6623a..164ab82bc 100644 --- a/os/hal/include/hal_buffers.h +++ b/os/hal/include/hal_buffers.h @@ -174,6 +174,16 @@ typedef io_buffers_queue_t output_buffers_queue_t; */ #define bqGetLinkX(bqp) ((bqp)->link) +/** + * @brief Sets the queue application-defined link. + * + * @param[in] bqp pointer to an @p io_buffers_queue_t structure + * @param[in] lk The application-defined link. + * + * @special + */ +#define bqSetLinkX(bqp, lk) ((bqp)->link = lk) + /** * @brief Return the suspended state of the queue. * -- cgit v1.2.3