Updated GCC/ARM7 ISR functions so they only use static variables.

This commit is contained in:
Richard Barry 2007-10-26 10:14:19 +00:00
parent a3921adfe1
commit c54ec1c639
8 changed files with 52 additions and 21 deletions

View file

@ -10,7 +10,12 @@ void vEMAC_ISR( void )
{
portENTER_SWITCHING_ISR();
portBASE_TYPE xSwitchRequired = pdFALSE;
/* Variable must be static. */
static portBASE_TYPE xSwitchRequired;
/* As the variable is static it must be manually initialised here. */
xSwitchRequired = pdFALSE;
/* Clear the interrupt. */
IntClear = 0xffff;