for( ;; );\r
}\r
/*-----------------------------------------------------------*/\r
-\r
+volatile long temp = 0;\r
static void prvCheckTimerCallback( xTimerHandle xTimer )\r
{\r
static long lChangedTimerPeriodAlready = pdFALSE, lErrorStatus = pdPASS;\r
static volatile unsigned long ulLastRegTest1CycleCount = 0UL, ulLastRegTest2CycleCount = 0UL;\r
-\r
+volatile long temp2;\r
/* Check the standard demo tasks are running without error. */\r
if( xAreGenericQueueTasksStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 1;\r
}\r
else if( xAreQueuePeekTasksStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 2;\r
}\r
else if( xAreBlockingQueuesStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 3;\r
}\r
else if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 4;\r
}\r
else if( xAreSemaphoreTasksStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 5;\r
}\r
else if( xArePollingQueuesStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 6;\r
}\r
else if( xIsCreateTaskStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 7;\r
}\r
else if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 8;\r
}\r
else if( xAreRecursiveMutexTasksStillRunning() != pdTRUE )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 9;\r
}\r
else if( xAreIntQueueTasksStillRunning() != pdPASS )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 10;\r
}\r
\r
/* Check the reg test tasks are still cycling. They will stop incrementing\r
if( ulRegTest1CycleCount == ulLastRegTest1CycleCount )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 11;\r
}\r
\r
if( ulRegTest2CycleCount == ulLastRegTest2CycleCount )\r
{\r
lErrorStatus = pdFAIL;\r
+ temp = 12;\r
}\r
\r
ulLastRegTest1CycleCount = ulRegTest1CycleCount;\r
/* Was an error detected this time through the callback execution? */\r
if( lErrorStatus != pdPASS )\r
{\r
+ temp2 = temp;\r
if( lChangedTimerPeriodAlready == pdFALSE )\r
{\r
lChangedTimerPeriodAlready = pdTRUE;\r