]> git.sur5r.net Git - freertos/commitdiff
Results of testing new prvIsTaskSuspended() function.
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 28 Jul 2007 18:41:53 +0000 (18:41 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 28 Jul 2007 18:41:53 +0000 (18:41 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@99 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/tasks.c

index cab6a49e37259d4f854dc918398039d22030cfe3..ff4bdcef6dfb6ec21a631222af12225978094558 100644 (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\r
                                list because it is blocked on a task with no timeout\r
                                specified. */\r
-                               if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) != pdTRUE )\r
+                               if( listIS_CONTAINED_WITHIN( NULL, &( pxTCB->xEventListItem ) ) == pdTRUE )\r
                                {\r
                                        xReturn = pdTRUE;\r
                                }\r