From c8ddd37c8ff79177abc10515586babf34ef7217c Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 28 Feb 2011 16:10:08 +0000 Subject: [PATCH] Finish off timers implementation. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1308 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/timers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/timers.c b/Source/timers.c index fb79603a6..bf25f8f93 100644 --- a/Source/timers.c +++ b/Source/timers.c @@ -135,7 +135,7 @@ static void prvProcessExpiredTimer( portTickType xNextExpireTime, portTickType x * The tick count has overflowed. Switch the timer lists after ensuring the * current timer list does not still reference some timers. */ -static void prvSwitchTimerLists( portTickType xLastTime, portTickType xTimeNow ) PRIVILEGED_FUNCTION; +static void prvSwitchTimerLists( portTickType xLastTime ) PRIVILEGED_FUNCTION; /* * Obtain the current tick count, setting *pxTimerListsWereSwitched to pdTRUE @@ -391,7 +391,7 @@ static portTickType xLastTime = ( portTickType ) 0U; if( xTimeNow < xLastTime ) { - prvSwitchTimerLists( xLastTime, xTimeNow ); + prvSwitchTimerLists( xLastTime ); *pxTimerListsWereSwitched = pdTRUE; } else @@ -517,7 +517,7 @@ portTickType xTimeNow; } /*-----------------------------------------------------------*/ -static void prvSwitchTimerLists( portTickType xLastTime, portTickType xTimeNow ) +static void prvSwitchTimerLists( portTickType xLastTime ) { portTickType xNextExpireTime, xReloadTime; xList *pxTemp; -- 2.39.5