Added qSetLink().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12101 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
7d47d8cf46
commit
2fa8776c76
|
@ -152,6 +152,17 @@ typedef io_queue_t output_queue_t;
|
|||
*/
|
||||
#define qGetLink(qp) ((qp)->q_link)
|
||||
|
||||
/**
|
||||
* @brief Sets the queue application-defined link.
|
||||
* @note This function can be called in any context.
|
||||
*
|
||||
* @param[in] qp pointer to a @p io_queue_t structure
|
||||
* @param[in] lk The application-defined link.
|
||||
*
|
||||
* @special
|
||||
*/
|
||||
#define qSetLink(qp, lk) ((qp)->q_link = lk)
|
||||
|
||||
/**
|
||||
* @brief Returns the filled space into an input queue.
|
||||
*
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** Next ***
|
||||
- NEW: Added new functions to I/O queues: qSetLink().
|
||||
- NEW: Added new functions to objects fifos: chFifoReturnObjectS(),
|
||||
chFifoSendObjectAheadI(), chFifoSendObjectAheadS() and
|
||||
chFifoSendObjectAhead().
|
||||
|
|
Loading…
Reference in New Issue