]> git.sur5r.net Git - freertos/commitdiff
Finish off timers implementation.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 28 Feb 2011 16:10:08 +0000 (16:10 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 28 Feb 2011 16:10:08 +0000 (16:10 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1308 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/timers.c

index fb79603a62427a2e4f7e2c358a9060e414658ff2..bf25f8f93e101086869e9500961da6cca115d2e9 100644 (file)
@@ -135,7 +135,7 @@ static void prvProcessExpiredTimer( portTickType xNextExpireTime, portTickType x
  * The tick count has overflowed.  Switch the timer lists after ensuring the\r
  * current timer list does not still reference some timers.\r
  */\r
-static void prvSwitchTimerLists( portTickType xLastTime, portTickType xTimeNow ) PRIVILEGED_FUNCTION;\r
+static void prvSwitchTimerLists( portTickType xLastTime ) PRIVILEGED_FUNCTION;\r
 \r
 /*\r
  * Obtain the current tick count, setting *pxTimerListsWereSwitched to pdTRUE\r
@@ -391,7 +391,7 @@ static portTickType xLastTime = ( portTickType ) 0U;
        \r
        if( xTimeNow < xLastTime )\r
        {\r
-               prvSwitchTimerLists( xLastTime, xTimeNow );\r
+               prvSwitchTimerLists( xLastTime );\r
                *pxTimerListsWereSwitched = pdTRUE;\r
        }\r
        else\r
@@ -517,7 +517,7 @@ portTickType xTimeNow;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void prvSwitchTimerLists( portTickType xLastTime, portTickType xTimeNow )\r
+static void prvSwitchTimerLists( portTickType xLastTime )\r
 {\r
 portTickType xNextExpireTime, xReloadTime;\r
 xList *pxTemp;\r