]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_AT91SAM3U256_IAR/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / CORTEX_AT91SAM3U256_IAR / main.c
index 3e6a8cf5d638927f396de836fa01dbce88cef4e8..67d8f1167a6568f654f8f9df2a0289a68fcc1cab 100644 (file)
 \r
 /* The time between cycles of the 'check' functionality (defined within the\r
 tick hook). */\r
-#define mainCHECK_DELAY                                                ( ( portTickType ) 5000 / portTICK_RATE_MS )\r
+#define mainCHECK_DELAY                                                ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )\r
 \r
 /* The LCD task uses the sprintf function so requires a little more stack too. */\r
 #define mainLCD_TASK_STACK_SIZE                                ( configMINIMAL_STACK_SIZE * 2 )\r
@@ -163,7 +163,7 @@ static void prvLCDTask( void *pvParameters );
  * Hook functions that can get called by the kernel.  The 'check' functionality\r
  * is implemented within the tick hook.\r
  */\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName );\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
 \r
 /*\r
  * The tick hook function as described in the comments at the top of this file.\r
@@ -177,7 +177,7 @@ void vApplicationTickHook( void );
 /*-----------------------------------------------------------*/\r
 \r
 /* The queue used to send messages to the LCD task. */\r
-static xQueueHandle xLCDQueue;\r
+static QueueHandle_t xLCDQueue;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -280,7 +280,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
 {\r
        ( void ) pxTask;\r
        ( void ) pcTaskName;\r