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)