aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/include/chmsg.h')
-rw-r--r--os/kernel/include/chmsg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/kernel/include/chmsg.h b/os/kernel/include/chmsg.h
index 16f6d1ef4..438da021f 100644
--- a/os/kernel/include/chmsg.h
+++ b/os/kernel/include/chmsg.h
@@ -32,12 +32,16 @@
/**
* @brief Evaluates to TRUE if the thread has pending messages.
+ *
+ * @iclass
*/
#define chMsgIsPendingI(tp) \
((tp)->p_msgqueue.p_next != (Thread *)&(tp)->p_msgqueue)
/**
* @brief Returns the first message in the queue.
+ *
+ * @iclass
*/
#define chMsgGetI(tp) \
((tp)->p_msgqueue.p_next->p_msg)