+static void prvGenerateStatusMessage( char *pcBuffer, long lStatusValue )\r
+{\r
+ switch( lStatusValue )\r
+ {\r
+ case pdPASS : sprintf( pcBuffer, "Task status = PASS" );\r
+ break;\r
+ case mainERROR_DYNAMIC_TASKS : sprintf( pcBuffer, "Error: Dynamic tasks" );\r
+ break;\r
+ case mainERROR_COM_TEST : sprintf( pcBuffer, "Error: COM test" );\r
+ break;\r
+ case mainERROR_GEN_QUEUE_TEST : sprintf( pcBuffer, "Error: Gen Q test" );\r
+ break;\r
+ default : sprintf( pcBuffer, "Unknown status" );\r
+ break;\r
+ }\r
+}\r
+/*-----------------------------------------------------------*/\r
+\r