git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2588 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2011-01-06 09:44:07 +00:00
parent 49bcae8141
commit 0963df484e
1 changed files with 2 additions and 2 deletions

View File

@ -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.