Change how volatile is used in some of the standard demos to remove compiler warnings in the latest GCC versions.

This commit is contained in:
Richard Barry 2017-01-04 05:07:12 +00:00
parent ca9edf3531
commit c882141175
5 changed files with 18 additions and 17 deletions

View file

@ -104,7 +104,7 @@ static portTASK_FUNCTION_PROTO( vCompeteingIntMathTask, pvParameters );
that the task is still executing. The check task sets the variable back to
false, flagging an error if the variable is still false the next time it
is called. */
static volatile BaseType_t xTaskCheck[ intgNUMBER_OF_TASKS ] = { ( BaseType_t ) pdFALSE };
static BaseType_t xTaskCheck[ intgNUMBER_OF_TASKS ] = { ( BaseType_t ) pdFALSE };
/*-----------------------------------------------------------*/