From ce9c3b74136ff5ab86ed90092071830b1fd9e6a3 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 14 Jul 2013 13:06:17 +0000 Subject: [PATCH] Variable name change in the PIC32 port layer only. --- 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 74dc76410f..8332c53805 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