From 3ef3963f8a252bc2bc9cb98a4a6e135efe431a14 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 5 Mar 2009 20:13:14 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@808 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/mailboxes.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/include/mailboxes.h b/src/include/mailboxes.h index 58e386e9f..68caee8d1 100644 --- a/src/include/mailboxes.h +++ b/src/include/mailboxes.h @@ -84,8 +84,7 @@ extern "C" { * Returns the next message in the queue without removing it. * @note 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 chMBContainsMessages() and then use this macro, all within - * a lock state. + * use @p chMBGetFull() and then use this macro, all within a lock state. */ #define chMBPeek(mbp) (*(mbp)->mb_rdptr) -- cgit v1.2.3