Correction to the draft timers module. Still a work in progress.

This commit is contained in:
Richard Barry 2011-02-09 19:20:12 +00:00
parent 7b97fe26c7
commit 9d9b00b669

View File

@ -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();