Further clean up

This commit is contained in:
Kody Stribrny 2025-08-11 14:04:33 -07:00
parent 45d332f972
commit d82e32d25a

View file

@ -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 /* Records the interrupt nesting depth. This is initialised to one as it is
decremented to 0 when the first task starts. */ decremented to 0 when the first task starts. */
volatile UBaseType_t uxInterruptNesting = 0x01; 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; uint32_t ulCurrentInterrupt;
BaseType_t xReturn; BaseType_t xReturn;