git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@808 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
1d222307d4
commit
3ef3963f8a
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue