From: richardbarry Date: Sun, 28 Aug 2011 13:07:54 +0000 (+0000) Subject: Remove redundant bit being set in the status register of the PIC32. X-Git-Tag: V7.0.2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a454e0e8ee8ccef5fa515d1f67dec8fb90c426c3;p=freertos Remove redundant bit being set in the status register of the PIC32. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1572 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/MPLAB/PIC32MX/port.c b/Source/portable/MPLAB/PIC32MX/port.c index 447d83341..2539a2e39 100644 --- a/Source/portable/MPLAB/PIC32MX/port.c +++ b/Source/portable/MPLAB/PIC32MX/port.c @@ -65,11 +65,10 @@ /* Bits within various registers. */ #define portIE_BIT ( 0x00000001 ) #define portEXL_BIT ( 0x00000002 ) -#define portSW0_ENABLE ( 0x00000100 ) /* The EXL bit is set to ensure interrupts do not occur while the context of 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 decremented to 0 when the first task starts. */