]> git.sur5r.net Git - freertos/commitdiff
Correction to the draft timers module. Still a work in progress.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 9 Feb 2011 19:20:12 +0000 (19:20 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 9 Feb 2011 19:20:12 +0000 (19:20 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1283 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/timers.c

index 5666661d35a534c85bfa32f3dc74f01071fe64c0..a0b9b349de8ff327c60492848d21e3a3d7a5ef0a 100644 (file)
@@ -348,7 +348,7 @@ xTIMER *pxTimer = ( xTIMER * ) xTimer;
        /* Is the timer in the list of active timers? */\r
        taskENTER_CRITICAL();\r
        {\r
-               xTimerIsInActiveList = listIS_CONTAINED_WITHIN( NULL, &( pxTimer->xTimerListItem ) );\r
+               xTimerIsInActiveList = listIS_CONTAINED_WITHIN( &xActiveTimerList, &( pxTimer->xTimerListItem ) );\r
        }\r
        taskEXIT_CRITICAL();\r
 \r