From a06a2e492fbb6e4a0d731f605adb966654d811bb Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 28 Jul 2007 18:41:53 +0000 Subject: [PATCH] Results of testing new prvIsTaskSuspended() function. --- Source/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/tasks.c b/Source/tasks.c index cab6a49e37..ff4bdcef6d 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -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 list because it is blocked on a task with no timeout specified. */ - if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) != pdTRUE ) + if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) == pdTRUE ) { xReturn = pdTRUE; }