]> git.sur5r.net Git - freertos/commitdiff
Remove redundant bit being set in the status register of the PIC32.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 28 Aug 2011 13:07:54 +0000 (13:07 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 28 Aug 2011 13:07:54 +0000 (13:07 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1572 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/MPLAB/PIC32MX/port.c

index 447d83341a038ad28dd15e5acf2bdd9820625d22..2539a2e397018b6701aac30ea8c0e129fe6e877d 100644 (file)
 /* Bits within various registers. */\r
 #define portIE_BIT                                     ( 0x00000001 )\r
 #define portEXL_BIT                                    ( 0x00000002 )\r
-#define portSW0_ENABLE                         ( 0x00000100 )\r
 \r
 /* The EXL bit is set to ensure interrupts do not occur while the context of\r
 the first task is being restored. */\r
-#define portINITIAL_SR                         ( portIE_BIT | portEXL_BIT | portSW0_ENABLE )\r
+#define portINITIAL_SR                         ( portIE_BIT | portEXL_BIT )\r
 \r
 /* Records the interrupt nesting depth.  This starts at one as it will be\r
 decremented to 0 when the first task starts. */\r