From: richardbarry Date: Sun, 20 Feb 2011 11:05:54 +0000 (+0000) Subject: Updates to timers.c related to module testing. X-Git-Tag: V7.0.0~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c144026ad61d73eb51ba01933e791940c013600c;p=freertos Updates to timers.c related to module testing. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1302 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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; } /*-----------------------------------------------------------*/ -