portLONG lTimeDifference;\r
const portCHAR *pcReceivedMessage;\r
const portCHAR * const pcTaskBlockedTooLongMsg = "Print task blocked too long!\r\n";\r
+const portCHAR * const pcUnexpectedHookValueMsg = "Task hook has unexpected value!\r\n";\r
\r
( void ) pvParameters;\r
\r
/* Register our callback function. */\r
vTaskSetApplicationTaskTag( NULL, prvExampleTaskHook );\r
+ \r
+ /* Just for test purposes. */\r
+ if( xTaskGetApplicationTaskTag( NULL ) != prvExampleTaskHook )\r
+ {\r
+ vPrintDisplayMessage( &pcUnexpectedHookValueMsg );\r
+ }\r
\r
/* Loop continuously, blocking, then checking all the other tasks are still\r
running, before blocking once again. This task blocks on the queue of\r