]> git.sur5r.net Git - freertos/commitdiff
Variable name change in the PIC32 port layer only.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 14 Jul 2013 13:06:17 +0000 (13:06 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 14 Jul 2013 13:06:17 +0000 (13:06 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1980 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h

index 74dc76410fad5494bc53ce53e7a1b6db4f24c01b..8332c53805ee33f8e7b2ac58f289ea73b715980c 100644 (file)
@@ -201,12 +201,12 @@ extern void vPortClearInterruptMaskFromISR( unsigned portBASE_TYPE );
 \r
 #define portYIELD()                                                            \\r
 {                                                                                              \\r
-unsigned long ulStatus;                                                        \\r
+unsigned long ulCause;                                                 \\r
                                                                                                \\r
        /* Trigger software interrupt. */                       \\r
-       ulStatus = _CP0_GET_CAUSE();                            \\r
-       ulStatus |= portSW0_BIT;                                        \\r
-       _CP0_SET_CAUSE( ulStatus );                                     \\r
+       ulCause = _CP0_GET_CAUSE();                                     \\r
+       ulCause |= portSW0_BIT;                                         \\r
+       _CP0_SET_CAUSE( ulCause );                                      \\r
 }\r
 \r
 #ifdef configASSERT\r