]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / ColdFire_MCF51CN128_CodeWarrior / Sources / main.c
index 91bb0fb2d4390ceedf212e3f076ec4aa98bebee8..929bbdd9f8ff38862efd889df29fff0769438cec 100644 (file)
@@ -196,7 +196,7 @@ extern void vBasicWEBServer( void *pv );
 void vApplicationTickHook( void )\r
 {\r
 static unsigned long ulExecutionCount = 0, ulLastRegTest1Count = 0, ulLastRegTest2Count = 0;\r
-const unsigned long ulExecutionRate = 5000 / portTICK_RATE_MS;\r
+const unsigned long ulExecutionRate = 5000 / portTICK_PERIOD_MS;\r
 \r
     /* Increment the count of how many times the tick hook has been called. */\r
     ulExecutionCount++;\r
@@ -299,7 +299,7 @@ static void prvSetupHardware( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        /* This will get called if a stack overflow is detected during the context\r
        switch.  Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack\r