#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_PERIOD_MS ( 500 / portTICK_RATE_MS )\r
+#define mainQUEUE_SEND_PERIOD_MS ( 500 / portTICK_PERIOD_MS )\r
\r
/* The period of the software timer, specified in milliseconds. */\r
-#define mainSOFTWARE_TIMER_PERIOD_MS ( 150 / portTICK_RATE_MS )\r
+#define mainSOFTWARE_TIMER_PERIOD_MS ( 150 / portTICK_PERIOD_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
/*\r
* The callback function used by the software timer.\r
*/\r
-static void prvBlinkyTimerCallback( xTimerHandle xTimer );\r
+static void prvBlinkyTimerCallback( TimerHandle_t xTimer );\r
\r
/* The queue used by both tasks. */\r
-static xQueueHandle xQueue = NULL;\r
+static QueueHandle_t 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
\r
void main(void)\r
{\r
-xTimerHandle xTimer;\r
+TimerHandle_t xTimer;\r
\r
/* Turn all LEDs off. */\r
vParTestInitialise();\r
\r
static void prvQueueSendTask( void *pvParameters )\r
{\r
-portTickType xNextWakeTime;\r
+TickType_t xNextWakeTime;\r
const unsigned long ulValueToSend = 100UL;\r
\r
/* Initialise xNextWakeTime - this only needs to be done once. */\r
}\r
/*-----------------------------------------------------------*/\r
\r
-static void prvBlinkyTimerCallback( xTimerHandle xTimer )\r
+static void prvBlinkyTimerCallback( TimerHandle_t xTimer )\r
{\r
/* The software timer does nothing but toggle an LED. */\r
vParTestToggleLED( mainTIMER_LED );\r
\r
/* This function is explained by the comments above its prototype at the top\r
of this file. */\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
{\r
for( ;; );\r
}\r