mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Updated GCC/ARM7 ISR functions so they only use static variables.
This commit is contained in:
parent
a3921adfe1
commit
c54ec1c639
8 changed files with 52 additions and 21 deletions
|
@ -10,7 +10,9 @@ void vEMAC_ISR( void )
|
|||
{
|
||||
portENTER_SWITCHING_ISR();
|
||||
|
||||
portBASE_TYPE xSwitchRequired = pdFALSE;
|
||||
static portBASE_TYPE xSwitchRequired;
|
||||
|
||||
xSwitchRequired = pdFALSE;
|
||||
|
||||
/* Clear the interrupt. */
|
||||
MAC_INTCLEAR = 0xffff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue