From 0963df484eefb886d1462db9693b76560edf5473 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 6 Jan 2011 09:44:07 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2588 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chqueues.h | 4 ++-- 1 file 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. -- cgit v1.2.3