From 5c98d0eb7c79db37b49d3b02090dc668d28b5f61 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 20 Feb 2011 11:05:54 +0000 Subject: [PATCH] Updates to timers.c related to module testing. --- Source/timers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/timers.c b/Source/timers.c index bcdea58a2..8593c723b 100644 --- a/Source/timers.c +++ b/Source/timers.c @@ -268,7 +268,7 @@ xTIMER *pxTimer; the time this task thinks it is now, even if a command to switch lists due to a tick count overflow is already waiting in the timer queue. */ - prvInsertTimerInActiveList( pxTimer, ( xNextExpireTime + pxTimer->xTimerPeriodInTicks ), xTimeNow ); + prvInsertTimerInActiveList( pxTimer, ( xNextExpireTime + pxTimer->xTimerPeriodInTicks ), xTimeNow, xNextExpireTime ); } /* Call the timer callback. */ @@ -575,4 +575,3 @@ xTIMER *pxTimer = ( xTIMER * ) xTimer; } /*-----------------------------------------------------------*/ -