mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Remove redundant bit being set in the status register of the PIC32.
This commit is contained in:
parent
3a4d907c64
commit
1baa62e424
|
@ -65,11 +65,10 @@
|
||||||
/* Bits within various registers. */
|
/* Bits within various registers. */
|
||||||
#define portIE_BIT ( 0x00000001 )
|
#define portIE_BIT ( 0x00000001 )
|
||||||
#define portEXL_BIT ( 0x00000002 )
|
#define portEXL_BIT ( 0x00000002 )
|
||||||
#define portSW0_ENABLE ( 0x00000100 )
|
|
||||||
|
|
||||||
/* The EXL bit is set to ensure interrupts do not occur while the context of
|
/* The EXL bit is set to ensure interrupts do not occur while the context of
|
||||||
the first task is being restored. */
|
the first task is being restored. */
|
||||||
#define portINITIAL_SR ( portIE_BIT | portEXL_BIT | portSW0_ENABLE )
|
#define portINITIAL_SR ( portIE_BIT | portEXL_BIT )
|
||||||
|
|
||||||
/* Records the interrupt nesting depth. This starts at one as it will be
|
/* Records the interrupt nesting depth. This starts at one as it will be
|
||||||
decremented to 0 when the first task starts. */
|
decremented to 0 when the first task starts. */
|
||||||
|
|
Loading…
Reference in a new issue