From a454e0e8ee8ccef5fa515d1f67dec8fb90c426c3 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 28 Aug 2011 13:07:54 +0000 Subject: [PATCH] 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 --- Source/portable/MPLAB/PIC32MX/port.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.39.5