]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RX100-RSK_IAR/main_full.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / RX100-RSK_IAR / main_full.c
index 17fcd8e0adc0da9102bb95765cba4236b6fc3f75..20e66d2ea3e3a35190b15876876cd4a66f58c07c 100644 (file)
@@ -154,13 +154,13 @@ The tasks check that the values are passed in correctly. */
 \r
 /* The period at which the check timer will expire, in ms, provided no errors\r
 have been reported by any of the standard demo tasks.  ms are converted to the\r
-equivalent in ticks using the portTICK_RATE_MS constant. */\r
-#define mainCHECK_TIMER_PERIOD_MS                      ( 3000UL / portTICK_RATE_MS )\r
+equivalent in ticks using the portTICK_PERIOD_MS constant. */\r
+#define mainCHECK_TIMER_PERIOD_MS                      ( 3000UL / portTICK_PERIOD_MS )\r
 \r
 /* The period at which the check timer will expire, in ms, if an error has been\r
 reported in one of the standard demo tasks.  ms are converted to the equivalent\r
-in ticks using the portTICK_RATE_MS constant. */\r
-#define mainERROR_CHECK_TIMER_PERIOD_MS        ( 200UL / portTICK_RATE_MS )\r
+in ticks using the portTICK_PERIOD_MS constant. */\r
+#define mainERROR_CHECK_TIMER_PERIOD_MS        ( 200UL / portTICK_PERIOD_MS )\r
 \r
 /* A block time of zero simple means "Don't Block". */\r
 #define mainDONT_BLOCK                         ( 0UL )\r
@@ -181,14 +181,14 @@ void vRegTest2Implementation( void );
 /*\r
  * The check timer callback function, as described at the top of this file.\r
  */\r
-static void prvCheckTimerCallback( xTimerHandle xTimer );\r
+static void prvCheckTimerCallback( TimerHandle_t xTimer );\r
 \r
 \r
 /*-----------------------------------------------------------*/\r
 \r
 /* The check timer.  This uses prvCheckTimerCallback() as its callback\r
 function. */\r
-static xTimerHandle xCheckTimer = NULL;\r
+static TimerHandle_t xCheckTimer = NULL;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -234,7 +234,7 @@ void main_full( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void prvCheckTimerCallback( xTimerHandle xTimer )\r
+static void prvCheckTimerCallback( TimerHandle_t xTimer )\r
 {\r
 static long lChangedTimerPeriodAlready = pdFALSE, lErrorStatus = pdPASS;\r
 static volatile unsigned long ulLastRegTest1CycleCount = 0UL, ulLastRegTest2CycleCount = 0UL;\r