\r
/* The handle of the queue used to send messages from tasks and interrupts to\r
the LCD task. */\r
-static xQueueHandle xLCDQueue = NULL;\r
+static QueueHandle_t xLCDQueue = NULL;\r
\r
/* The definition of each message sent from tasks and interrupts to the LCD\r
task. */\r
void vApplicationTickHook( void )\r
{\r
static unsigned long ulCounter = 0;\r
-static const unsigned long ulCheckFrequency = 5000UL / portTICK_RATE_MS;\r
+static const unsigned long ulCheckFrequency = 5000UL / portTICK_PERIOD_MS;\r
long lHigherPriorityTaskWoken = pdFALSE;\r
\r
/* Define the status message that is sent to the LCD task. By default the\r
\r
/* Block for 10 milliseconds so this task does not utilise all the CPU\r
time and debouncing of the button is not necessary. */\r
- vTaskDelay( 10 / portTICK_RATE_MS );\r
+ vTaskDelay( 10 / portTICK_PERIOD_MS );\r
}\r
}\r
/*-----------------------------------------------------------*/\r
}\r
/*-----------------------------------------------------------*/\r
\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
{\r
( void ) pcTaskName;\r
( void ) pxTask;\r