Add call to xTaskGetApplicationTaskTag(), just as a test as its new and not called anywhere else.
diff --git a/Demo/PC/main.c b/Demo/PC/main.c
index 0effc44..addc3a0 100644
--- a/Demo/PC/main.c
+++ b/Demo/PC/main.c
@@ -244,11 +244,18 @@
 portLONG lTimeDifference;

 const portCHAR *pcReceivedMessage;

 const portCHAR * const pcTaskBlockedTooLongMsg = "Print task blocked too long!\r\n";

+const portCHAR * const pcUnexpectedHookValueMsg = "Task hook has unexpected value!\r\n";

 

 	( void ) pvParameters;

 

 	/* Register our callback function. */

 	vTaskSetApplicationTaskTag( NULL, prvExampleTaskHook );

+	

+	/* Just for test purposes. */

+	if( xTaskGetApplicationTaskTag( NULL ) != prvExampleTaskHook )

+	{

+		vPrintDisplayMessage( &pcUnexpectedHookValueMsg );

+	}

 

 	/* Loop continuously, blocking, then checking all the other tasks are still

 	running, before blocking once again.  This task blocks on the queue of