Fixed bug 3219197.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.2.x@2826 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
0d142fc933
commit
0e157106b3
|
@ -141,7 +141,8 @@ typedef GenericQueue InputQueue;
|
|||
*
|
||||
* @iclass
|
||||
*/
|
||||
#define chIQIsFullI(iqp) ((bool_t)(chQSpaceI(iqp) >= chQSizeI(iqp)))
|
||||
#define chIQIsFullI(iqp) ((bool_t)(((iqp)->q_wrptr == (iqp)->q_rdptr) && \
|
||||
!chIQIsEmptyI(iqp)))
|
||||
|
||||
/**
|
||||
* @brief Input queue read.
|
||||
|
@ -212,7 +213,8 @@ typedef GenericQueue OutputQueue;
|
|||
*
|
||||
* @iclass
|
||||
*/
|
||||
#define chOQIsEmptyI(oqp) ((bool_t)(chQSpaceI(oqp) >= chQSizeI(oqp)))
|
||||
#define chOQIsEmptyI(oqp) ((bool_t)(((oqp)->q_wrptr == (oqp)->q_rdptr) && \
|
||||
!chOQIsFullI(oqp)))
|
||||
|
||||
/**
|
||||
* @brief Evaluates to @p TRUE if the specified output queue is full.
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.2.3 ***
|
||||
- FIX: Fixed wrong checks in I/O Queues (bug 3219197).
|
||||
- FIX: Fixed invalid assertion in adcConvert() (bug 3205410).
|
||||
- NEW: Improved preemption implementation for the Cortex-M0, now it uses
|
||||
the NMI vector in order to restore the original context. The change makes
|
||||
|
|
Loading…
Reference in New Issue