From: richardbarry Date: Wed, 9 Feb 2011 19:20:12 +0000 (+0000) Subject: Correction to the draft timers module. Still a work in progress. X-Git-Tag: V7.0.0~66 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9ba833b98b87f03d1662cd1bbf7526ae39993e8b;p=freertos 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 --- 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();