Results of testing new prvIsTaskSuspended() function.

This commit is contained in:
Richard Barry 2007-07-28 18:41:53 +00:00
parent de1094e980
commit a06a2e492f

View File

@ -977,7 +977,7 @@ static unsigned portBASE_TYPE uxTaskNumber = 0; /*lint !e956 Static is deliberat
Suspended state? It is possible to be in the suspended Suspended state? It is possible to be in the suspended
list because it is blocked on a task with no timeout list because it is blocked on a task with no timeout
specified. */ specified. */
if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) != pdTRUE ) if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) == pdTRUE )
{ {
xReturn = pdTRUE; xReturn = pdTRUE;
} }