diff --git a/portable/MPLAB/PIC32MZ/port.c b/portable/MPLAB/PIC32MZ/port.c index 56099800c..5d827c045 100644 --- a/portable/MPLAB/PIC32MZ/port.c +++ b/portable/MPLAB/PIC32MZ/port.c @@ -144,14 +144,6 @@ static void prvTaskExitError( void ); /*-----------------------------------------------------------*/ - -/* - * Used to determine if the port is in an interrupt. - */ -__attribute__((always_inline)) static BaseType_t xPortIsInsideInterrupt( void ); - -/*-----------------------------------------------------------*/ - /* Records the interrupt nesting depth. This is initialised to one as it is decremented to 0 when the first task starts. */ volatile UBaseType_t uxInterruptNesting = 0x01; @@ -382,7 +374,7 @@ void vPortClearInterruptMaskFromISR( UBaseType_t uxSavedStatusRegister ) /*-----------------------------------------------------------*/ -__attribute__((always_inline)) static BaseType_t xPortIsInsideInterrupt( void ) +__attribute__((always_inline)) BaseType_t xPortIsInsideInterrupt( void ) { uint32_t ulCurrentInterrupt; BaseType_t xReturn;