aboutsummaryrefslogtreecommitdiffstats
path: root/os/lib/include/chmboxes.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/lib/include/chmboxes.h')
-rw-r--r--os/lib/include/chmboxes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/lib/include/chmboxes.h b/os/lib/include/chmboxes.h
index eeff68751..899a8ce1e 100644
--- a/os/lib/include/chmboxes.h
+++ b/os/lib/include/chmboxes.h
@@ -175,7 +175,7 @@ static inline size_t chMBGetFreeCountI(const mailbox_t *mbp) {
* @brief Returns the next message in the queue without removing it.
* @pre A message must be waiting in the queue for this function to work
* or it would return garbage. The correct way to use this macro is
- * to use @p chMBGetFullCountI() and then use this macro, all within
+ * to use @p chMBGetUsedCountI() and then use this macro, all within
* a lock state.
*
* @param[in] mbp the pointer to an initialized @p mailbox_t object