diff options
| author | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2009-02-06 13:27:41 +0000 |
|---|---|---|
| committer | RichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2009-02-06 13:27:41 +0000 |
| commit | 3f7573b5d4d2e2a89ab2d181358cc38710765c81 (patch) | |
| tree | 0ba9e55b525fdd92469ccf01458b3ac86c659cd3 | |
| parent | 25cf19c39469e03576bcb63b444b035ddc83cd8d (diff) | |
| download | freertos-3f7573b5d4d2e2a89ab2d181358cc38710765c81.tar.gz freertos-3f7573b5d4d2e2a89ab2d181358cc38710765c81.tar.bz2 freertos-3f7573b5d4d2e2a89ab2d181358cc38710765c81.tar.xz | |
Add more comments.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@684 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
| -rw-r--r-- | Demo/NEC_V850ES_IAR/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Demo/NEC_V850ES_IAR/main.c b/Demo/NEC_V850ES_IAR/main.c index b32f85e8..54bd41f7 100644 --- a/Demo/NEC_V850ES_IAR/main.c +++ b/Demo/NEC_V850ES_IAR/main.c @@ -192,7 +192,7 @@ unsigned portBASE_TYPE uxLEDToUse = 0; {
xDelayPeriod = mainERROR_DELAY;
}
-
+
/* Initialise xLastWakeTime before it is used. After this point it is not
written to directly. */
xLastWakeTime = xTaskGetTickCount();
@@ -201,6 +201,7 @@ unsigned portBASE_TYPE uxLEDToUse = 0; operating without error. */
for( ;; )
{
+ /* Wait until it is time to check all the other tasks again. */
vTaskDelayUntil( &xLastWakeTime, xDelayPeriod );
if( lRegTestStatus != pdPASS )
@@ -257,6 +258,8 @@ unsigned portBASE_TYPE uxLEDToUse = 0; }
#endif
+ /* Toggle the LED. The toggle rate will depend on whether or not an
+ error has been found in any tasks. */
vParTestToggleLED( uxLEDToUse );
}
}
|
