]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RX600_RX63N-RDK_Renesas/RTOSDemo/main-full.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / RX600_RX63N-RDK_Renesas / RTOSDemo / main-full.c
index 5f3bf73a3ebb521add4efbf5dd74a792c6e3c156..bc88660fd9675ee5740d6d4398dc5a8305d976ce 100644 (file)
@@ -189,12 +189,12 @@ stack than most of the other tasks. */
 /* The rate at which mainCHECK_LED will toggle when all the tasks are running\r
 without error.  Controlled by the check timer as described at the top of this\r
 file. */\r
-#define mainNO_ERROR_CHECK_TIMER_PERIOD_MS     ( 5000 / portTICK_RATE_MS )\r
+#define mainNO_ERROR_CHECK_TIMER_PERIOD_MS     ( 5000 / portTICK_PERIOD_MS )\r
 \r
 /* The rate at which mainCHECK_LED will toggle when an error has been reported\r
 by at least one task.  Controlled by the check timer as described at the top of\r
 this file. */\r
-#define mainERROR_CHECK_TIMER_PERIOD_MS                ( 200 / portTICK_RATE_MS )\r
+#define mainERROR_CHECK_TIMER_PERIOD_MS                ( 200 / portTICK_PERIOD_MS )\r
 \r
 /* A block time of zero simply means "don't block". */\r
 #define mainDONT_BLOCK ( 0UL )\r
@@ -233,7 +233,7 @@ void vApplicationIdleHook( void );
  * it is possible that the stack overflow will have corrupted these - in which\r
  * case pxCurrentTCB can be inspected to find the same information.\r
  */\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName );\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
 \r
 /*\r
  * The reg test tasks as described at the top of this file.\r
@@ -251,7 +251,7 @@ static void prvRegTest2Implementation( 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
  * Contains the implementation of the WEB server.\r
@@ -275,7 +275,7 @@ const char *pcStatusMessage = "All tasks executing without error.";
 \r
 void main(void)\r
 {\r
-xTimerHandle xCheckTimer;\r
+TimerHandle_t xCheckTimer;\r
 extern void HardwareSetup( void );\r
 \r
        /* Turn all LEDs off. */\r
@@ -334,7 +334,7 @@ extern void HardwareSetup( void );
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-static void prvCheckTimerCallback( xTimerHandle xTimer )\r
+static void prvCheckTimerCallback( TimerHandle_t xTimer )\r
 {\r
 static long lChangedTimerPeriodAlready = pdFALSE;\r
 static unsigned long ulLastRegTest1CycleCount = 0, ulLastRegTest2CycleCount = 0;\r
@@ -483,7 +483,7 @@ void vApplicationMallocFailedHook( void )
 \r
 /* This function is explained by the comments above its prototype at the top\r
 of this file. */\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        for( ;; );\r
 }\r