mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Further clean up
This commit is contained in:
parent
45d332f972
commit
d82e32d25a
1 changed files with 1 additions and 9 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue