From 837f2cd0fd066a1a4ee1fe299aac42b7816c7e29 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 27 Apr 2018 07:34:15 +0000 Subject: Added const modifiers where required, replace NULL with nullptr, minor documentation fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11955 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/lib/include/chmboxes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/lib/include/chmboxes.h') 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 -- cgit v1.2.3