\r
/* The time between cycles of the 'check' task - which depends on whether the\r
check task has detected an error or not. */\r
-#define mainCHECK_DELAY_NO_ERROR ( ( portTickType ) 5000 / portTICK_RATE_MS )\r
-#define mainCHECK_DELAY_ERROR ( ( portTickType ) 500 / portTICK_RATE_MS )\r
+#define mainCHECK_DELAY_NO_ERROR ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )\r
+#define mainCHECK_DELAY_ERROR ( ( TickType_t ) 500 / portTICK_PERIOD_MS )\r
\r
/* The LED controlled by the 'check' task. */\r
#define mainCHECK_LED ( 3 )\r
/* Described at the top of this file. */\r
static void prvCheckTask( void *pvParameters )\r
{\r
-portTickType xLastExecutionTime;\r
+TickType_t xLastExecutionTime;\r
unsigned long ulTicksToWait = mainCHECK_DELAY_NO_ERROR;\r
\r
/* Just to remove the compiler warning about the unused parameter. */\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
{\r
/* This function will get called if a task overflows its stack. If the\r
parameters are corrupt then inspect pxCurrentTCB to find which was the\r