diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-06 09:44:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-06 09:44:07 +0000 |
commit | 0963df484eefb886d1462db9693b76560edf5473 (patch) | |
tree | 737100110eb32556e3c962803aa4178d2e0ce5e8 /os/kernel | |
parent | 49bcae814124d4a69e0bc700b28518ec1c82b4a1 (diff) | |
download | ChibiOS-0963df484eefb886d1462db9693b76560edf5473.tar.gz ChibiOS-0963df484eefb886d1462db9693b76560edf5473.tar.bz2 ChibiOS-0963df484eefb886d1462db9693b76560edf5473.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r-- | os/kernel/include/chqueues.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chqueues.h b/os/kernel/include/chqueues.h index 5a11ec7cc..1913e8bdd 100644 --- a/os/kernel/include/chqueues.h +++ b/os/kernel/include/chqueues.h @@ -205,7 +205,7 @@ typedef GenericQueue OutputQueue; *
* @iclass
*/
-#define chOQIsEmptyI(oqp) ((bool_t)(chQSpaceI(q) >= chQSizeI(q)))
+#define chOQIsEmptyI(oqp) ((bool_t)(chQSpaceI(oqp) >= chQSizeI(oqp)))
/**
* @brief Evaluates to @p TRUE if the specified output queue is full.
@@ -217,7 +217,7 @@ typedef GenericQueue OutputQueue; *
* @iclass
*/
-#define chOQIsFullI(oqp) ((bool_t)(chQSpaceI(q) <= 0))
+#define chOQIsFullI(oqp) ((bool_t)(chQSpaceI(oqp) <= 0))
/**
* @brief Output queue write.
|