From ef3d2c0e72abd1b446201cbd3c1bdbc02ff7903d Mon Sep 17 00:00:00 2001 From: RichardBarry Date: Sat, 28 Jul 2007 18:41:53 +0000 Subject: [PATCH] Results of testing new prvIsTaskSuspended() function. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@99 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/tasks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/tasks.c b/Source/tasks.c index cab6a49e3..ff4bdcef6 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; } -- 2.39.5