From: richardbarry Date: Sun, 14 Jul 2013 13:06:17 +0000 (+0000) Subject: Variable name change in the PIC32 port layer only. X-Git-Tag: V7.5.0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19bc5f7fc22c4ab1036a442b0da500d843d85cc0;p=freertos Variable name change in the PIC32 port layer only. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1980 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h b/FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h index 74dc76410..8332c5380 100644 --- a/FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h +++ b/FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h @@ -201,12 +201,12 @@ extern void vPortClearInterruptMaskFromISR( unsigned portBASE_TYPE ); #define portYIELD() \ { \ -unsigned long ulStatus; \ +unsigned long ulCause; \ \ /* Trigger software interrupt. */ \ - ulStatus = _CP0_GET_CAUSE(); \ - ulStatus |= portSW0_BIT; \ - _CP0_SET_CAUSE( ulStatus ); \ + ulCause = _CP0_GET_CAUSE(); \ + ulCause |= portSW0_BIT; \ + _CP0_SET_CAUSE( ulCause ); \ } #ifdef configASSERT