{\r
xDelayPeriod = mainERROR_DELAY;\r
}\r
{\r
xDelayPeriod = mainERROR_DELAY;\r
}\r
/* Initialise xLastWakeTime before it is used. After this point it is not\r
written to directly. */\r
xLastWakeTime = xTaskGetTickCount();\r
/* Initialise xLastWakeTime before it is used. After this point it is not\r
written to directly. */\r
xLastWakeTime = xTaskGetTickCount();\r
operating without error. */\r
for( ;; )\r
{\r
operating without error. */\r
for( ;; )\r
{\r
+ /* Wait until it is time to check all the other tasks again. */\r
vTaskDelayUntil( &xLastWakeTime, xDelayPeriod );\r
\r
if( lRegTestStatus != pdPASS )\r
vTaskDelayUntil( &xLastWakeTime, xDelayPeriod );\r
\r
if( lRegTestStatus != pdPASS )\r
+ /* Toggle the LED. The toggle rate will depend on whether or not an\r
+ error has been found in any tasks. */\r
vParTestToggleLED( uxLEDToUse );\r
}\r
}\r
vParTestToggleLED( uxLEDToUse );\r
}\r
}\r