mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add more comments.
This commit is contained in:
parent
ea209490e1
commit
223feee46c
|
@ -192,7 +192,7 @@ unsigned portBASE_TYPE uxLEDToUse = 0;
|
||||||
{
|
{
|
||||||
xDelayPeriod = mainERROR_DELAY;
|
xDelayPeriod = mainERROR_DELAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialise xLastWakeTime before it is used. After this point it is not
|
/* Initialise xLastWakeTime before it is used. After this point it is not
|
||||||
written to directly. */
|
written to directly. */
|
||||||
xLastWakeTime = xTaskGetTickCount();
|
xLastWakeTime = xTaskGetTickCount();
|
||||||
|
@ -201,6 +201,7 @@ unsigned portBASE_TYPE uxLEDToUse = 0;
|
||||||
operating without error. */
|
operating without error. */
|
||||||
for( ;; )
|
for( ;; )
|
||||||
{
|
{
|
||||||
|
/* Wait until it is time to check all the other tasks again. */
|
||||||
vTaskDelayUntil( &xLastWakeTime, xDelayPeriod );
|
vTaskDelayUntil( &xLastWakeTime, xDelayPeriod );
|
||||||
|
|
||||||
if( lRegTestStatus != pdPASS )
|
if( lRegTestStatus != pdPASS )
|
||||||
|
@ -257,6 +258,8 @@ unsigned portBASE_TYPE uxLEDToUse = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Toggle the LED. The toggle rate will depend on whether or not an
|
||||||
|
error has been found in any tasks. */
|
||||||
vParTestToggleLED( uxLEDToUse );
|
vParTestToggleLED( uxLEDToUse );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue