diff options
Diffstat (limited to 'os')
| -rw-r--r-- | os/hal/include/hal_queues.h | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h index 1ebefe1a3..d85cb9398 100644 --- a/os/hal/include/hal_queues.h +++ b/os/hal/include/hal_queues.h @@ -153,6 +153,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.
   *
   * @param[in] iqp       pointer to an @p input_queue_t structure
  | 
