Add declaration before definition

This commit is contained in:
Kody Stribrny 2025-08-11 13:22:43 -07:00
parent c1d93c7cdd
commit 45d332f972

View file

@ -144,6 +144,14 @@ 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;
@ -219,6 +227,7 @@ static void prvTaskExitError( void )
portDISABLE_INTERRUPTS();
for( ;; );
}
/*-----------------------------------------------------------*/
/*