aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-08 18:16:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-08 18:16:38 +0000
commitf407e4a84fcf2cf3bb003ed36f80ec136f8683c2 (patch)
tree4320f476744a99f1814e4ad5007e8fc87e8467ff /os/kernel
parent38cc48d575a6232cfd440d97711f89f5f531422d (diff)
downloadChibiOS-f407e4a84fcf2cf3bb003ed36f80ec136f8683c2.tar.gz
ChibiOS-f407e4a84fcf2cf3bb003ed36f80ec136f8683c2.tar.bz2
ChibiOS-f407e4a84fcf2cf3bb003ed36f80ec136f8683c2.zip
HAL improvements, mailboxes macro name changed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2238 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/include/chmboxes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chmboxes.h b/os/kernel/include/chmboxes.h
index 964952c23..608fcf91e 100644
--- a/os/kernel/include/chmboxes.h
+++ b/os/kernel/include/chmboxes.h
@@ -93,7 +93,7 @@ extern "C" {
#define chMBGetFreeCountI(mbp) chSemGetCounterI(&(mbp)->mb_emptysem)
/**
- * @brief Returns the number of queued messages into a mailbox.
+ * @brief Returns the number of used message slots into a mailbox.
* @note Can be invoked in any system state but if invoked out of a locked
* state then the returned value may change after reading.
* @note The returned value can be less than zero when there are waiting
@@ -104,7 +104,7 @@ extern "C" {
*
* @iclass
*/
-#define chMBGetFullCountI(mbp) chSemGetCounterI(&(mbp)->mb_fullsem)
+#define chMBGetUsedCountI(mbp) chSemGetCounterI(&(mbp)->mb_fullsem)
/**
* @brief Returns the next message in the queue without removing it.