toggles an LED every three seconds. If an error is discovered in any task the\r
rate is increased to 500 milliseconds. [in this case the '*' characters on the\r
LCD represent LEDs]*/\r
-#define mainNO_ERROR_CHECK_DELAY ( ( portTickType ) 3000 / portTICK_RATE_MS )\r
-#define mainERROR_CHECK_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )\r
+#define mainNO_ERROR_CHECK_DELAY ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )\r
+#define mainERROR_CHECK_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )\r
\r
/* The total number of LEDs available. */\r
#define mainNO_CO_ROUTINE_LEDs ( 8 )\r
\r
static void prvErrorChecks( void *pvParameters )\r
{\r
-portTickType xDelayPeriod = mainNO_ERROR_CHECK_DELAY, xLastExecutionTime;\r
+TickType_t xDelayPeriod = mainNO_ERROR_CHECK_DELAY, xLastExecutionTime;\r
\r
/* Initialise xLastExecutionTime so the first call to vTaskDelayUntil()\r
works correctly. */\r