mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Add declaration before definition
This commit is contained in:
parent
c1d93c7cdd
commit
45d332f972
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
/* 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;
|
||||||
|
|
@ -219,6 +227,7 @@ static void prvTaskExitError( void )
|
||||||
portDISABLE_INTERRUPTS();
|
portDISABLE_INTERRUPTS();
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue