\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
* 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
/*-----------------------------------------------------------*/\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
}\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