From d82e32d25a24144633654343080be76014f84c80 Mon Sep 17 00:00:00 2001 From: Kody Stribrny Date: Mon, 11 Aug 2025 14:04:33 -0700 Subject: [PATCH] Further clean up --- portable/MPLAB/PIC32MZ/port.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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;