diff options
author | gdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01> | 2018-10-27 11:42:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@110e8d01-0319-4d1e-a829-52ad28d1bb01> | 2018-10-27 11:42:06 +0000 |
commit | f42818b0a2bf0596c02830b761c365776a9194a7 (patch) | |
tree | 8aed8ed801e32c68c6b4afb9d2e5867a92b736a3 /os/hal/include | |
parent | dde82c6051089a009dd6ca5e440dcfafd33991f0 (diff) | |
download | ChibiOS-f42818b0a2bf0596c02830b761c365776a9194a7.tar.gz ChibiOS-f42818b0a2bf0596c02830b761c365776a9194a7.tar.bz2 ChibiOS-f42818b0a2bf0596c02830b761c365776a9194a7.zip |
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
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_buffers.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -175,6 +175,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.
*
* @param[in] bqp pointer to an @p io_buffers_queue_t structure
|