mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Add volatile keyword to GenQTest loop counter for consistency.
Remove obsolete definition from SAM4L demo.
This commit is contained in:
parent
6d20e2b5cd
commit
01202246da
10 changed files with 45 additions and 46 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue