git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@808 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-03-05 20:13:14 +00:00
parent 1d222307d4
commit 3ef3963f8a
1 changed files with 1 additions and 2 deletions

View File

@ -84,8 +84,7 @@ extern "C" {
* Returns the next message in the queue without removing it. * 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 * @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 * it would return garbage. The correct way to use this macro is to
* use @p chMBContainsMessages() and then use this macro, all within * use @p chMBGetFull() and then use this macro, all within a lock state.
* a lock state.
*/ */
#define chMBPeek(mbp) (*(mbp)->mb_rdptr) #define chMBPeek(mbp) (*(mbp)->mb_rdptr)