]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c
Update version number to 8.1.1 for patch release that re-enables mutexes to be given...
[freertos] / FreeRTOS / Demo / CORTEX_LM3Sxxxx_Eclipse / RTOSDemo / timertest.c
index 7ee6d5ecba2f199f1f86d68feebb9530c849d6e6..b7f4d84ca5f67d04dffcefd2213cd05c2577ad17 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.1.1 - Copyright (C) 2014 Real Time Engineers Ltd. \r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -97,12 +97,12 @@ zero. */
 void Timer0IntHandler( void );\r
 \r
 /* Stores the value of the maximum recorded jitter between interrupts. */\r
-volatile unsigned portLONG ulMaxJitter = 0UL;\r
+volatile unsigned long ulMaxJitter = 0UL;\r
 \r
 /* Counts the total number of times that the high frequency timer has 'ticked'.\r
 This value is used by the run time stats function to work out what percentage\r
 of CPU time each task is taking. */\r
-volatile unsigned portLONG ulHighFrequencyTimerTicks = 0UL;\r
+volatile unsigned long ulHighFrequencyTimerTicks = 0UL;\r
 /*-----------------------------------------------------------*/\r
 \r
 void vSetupHighFrequencyTimer( void )\r
@@ -139,9 +139,9 @@ unsigned long ulFrequency;
 \r
 void Timer0IntHandler( void )\r
 {\r
-unsigned portLONG ulDifference;\r
-volatile unsigned portLONG ulCurrentCount;\r
-static unsigned portLONG ulMaxDifference = 0, ulLastCount = 0;\r
+unsigned long ulDifference;\r
+volatile unsigned long ulCurrentCount;\r
+static unsigned long ulMaxDifference = 0, ulLastCount = 0;\r
 \r
        /* We use the timer 1 counter value to measure the clock cycles between\r
        the timer 0 interrupts. */\r