]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/dsPIC_MPLAB/main.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / dsPIC_MPLAB / main.c
index 9106ab11542453fa9a007aad94c76572ba4f64ce..02b71693c9bb65b7085ab75a23ade16d81c68b96 100644 (file)
 #define mainCHECK_TAKS_STACK_SIZE                      ( configMINIMAL_STACK_SIZE * 2 )\r
 \r
 /* The execution period of the check task. */\r
-#define mainCHECK_TASK_PERIOD                          ( ( portTickType ) 3000 / portTICK_RATE_MS )\r
+#define mainCHECK_TASK_PERIOD                          ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )\r
 \r
 /* The number of flash co-routines to create. */\r
 #define mainNUM_FLASH_COROUTINES                       ( 5 )\r
@@ -164,7 +164,7 @@ static void prvSetupHardware( 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
@@ -211,7 +211,7 @@ static void prvSetupHardware( void )
 static void vCheckTask( void *pvParameters )\r
 {\r
 /* Used to wake the task at the correct frequency. */\r
-portTickType xLastExecutionTime;\r
+TickType_t xLastExecutionTime;\r
 \r
 /* The maximum jitter time measured by the fast interrupt test. */\r
 extern unsigned short usMaxJitter ;\r