Revert changes to IAR-CM0-portmacro.h

portNVIC_INT_CTRL_REG was already defined in port.c.  No need to define
it in portmacro.h.
This commit is contained in:
Jeff Tenney 2021-02-11 10:48:34 -07:00
parent cfabb61191
commit 9ae578b8f4

View file

@ -78,7 +78,6 @@
/* Scheduler utilities. */
extern void vPortYield( void );
#define portNVIC_INT_CTRL ( ( volatile uint32_t * ) 0xe000ed04 )
#define portNVIC_INT_CTRL_REG ( *( portNVIC_INT_CTRL ) )
#define portNVIC_PENDSVSET 0x10000000
#define portYIELD() vPortYield()
#define portEND_SWITCHING_ISR( xSwitchRequired ) if( xSwitchRequired ) *( portNVIC_INT_CTRL ) = portNVIC_PENDSVSET