From 9ba833b98b87f03d1662cd1bbf7526ae39993e8b Mon Sep 17 00:00:00 2001 From: richardbarry Date: Wed, 9 Feb 2011 19:20:12 +0000 Subject: [PATCH] Correction to the draft timers module. Still a work in progress. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1283 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/timers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/timers.c b/Source/timers.c index 5666661d3..a0b9b349d 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(); -- 2.39.5