From 19bc5f7fc22c4ab1036a442b0da500d843d85cc0 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 14 Jul 2013 13:06:17 +0000 Subject: [PATCH] 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 --- FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5