#include "queue.h"\r
\r
/* Priorities at which the tasks are created. */\r
-#define configQUEUE_RECEIVE_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
-#define configQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )\r
+#define configQUEUE_RECEIVE_TASK_PRIORITY ( tskIDLE_PRIORITY + 1 )\r
+#define configQUEUE_SEND_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )\r
\r
/* The rate at which data is sent to the queue, specified in milliseconds. */\r
-#define mainQUEUE_SEND_FREQUENCY_MS ( 500 / portTICK_RATE_MS )\r
+#define mainQUEUE_SEND_FREQUENCY_MS ( 500 / portTICK_RATE_MS )\r
\r
/* The number of items the queue can hold. This is 1 as the receive task\r
will remove items as they are added so the send task should always find the\r
queue empty. */\r
-#define mainQUEUE_LENGTH ( 1 )\r
+#define mainQUEUE_LENGTH ( 1 )\r
\r
/*\r
* The tasks as defined at the top of this file.\r
/* The queue used by both tasks. */\r
static xQueueHandle xQueue = NULL;\r
\r
+/* This variable is not used by this simple Blinky example. It is defined \r
+purely to allow the project to link as it is used by the full project. */\r
+volatile unsigned long ulHighFrequencyTickCount = 0UL;\r
/*-----------------------------------------------------------*/\r
\r
void main(void)\r
of this file. */\r
void vApplicationIdleHook( void )\r
{\r
+ /* Just to prevent the variable getting optimised away. */\r
+ ( void ) ulHighFrequencyTickCount;\r
}\r
/*-----------------------------------------------------------*/\r