Add volatile keyword to GenQTest loop counter for consistency.

Remove obsolete definition from SAM4L demo.
This commit is contained in:
Richard Barry 2013-04-14 19:07:32 +00:00
parent 6d20e2b5cd
commit 01202246da
10 changed files with 45 additions and 46 deletions

View file

@ -134,7 +134,7 @@ static void prvHighPriorityMutexTask( void *pvParameters );
/* Flag that will be latched to pdTRUE should any unexpected behaviour be
detected in any of the tasks. */
static portBASE_TYPE xErrorDetected = pdFALSE;
static volatile portBASE_TYPE xErrorDetected = pdFALSE;
/* Counters that are incremented on each cycle of a test. This is used to
detect a stalled task - a test that is no longer running. */