From 9d9b00b669a93ad0ad67d7e8f92af01b76dd5bca Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Wed, 9 Feb 2011 19:20:12 +0000 Subject: [PATCH] Correction to the draft timers module. Still a work in progress. --- Source/timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/timers.c b/Source/timers.c index 5666661d35..a0b9b349de 100644 --- a/Source/timers.c +++ b/Source/timers.c @@ -348,7 +348,7 @@ xTIMER *pxTimer = ( xTIMER * ) xTimer; /* Is the timer in the list of active timers? */ taskENTER_CRITICAL(); { - xTimerIsInActiveList = listIS_CONTAINED_WITHIN( NULL, &( pxTimer->xTimerListItem ) ); + xTimerIsInActiveList = listIS_CONTAINED_WITHIN( &xActiveTimerList, &( pxTimer->xTimerListItem ) ); } taskEXIT_CRITICAL();