File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ static void prvTaskExitError( void );
144144
145145/*-----------------------------------------------------------*/
146146
147+
148+ /*
149+ * Used to determine if the port is in an interrupt.
150+ */
151+ __attribute__((always_inline )) static BaseType_t xPortIsInsideInterrupt ( void );
152+
153+ /*-----------------------------------------------------------*/
154+
147155/* Records the interrupt nesting depth. This is initialised to one as it is
148156decremented to 0 when the first task starts. */
149157volatile UBaseType_t uxInterruptNesting = 0x01 ;
@@ -219,6 +227,7 @@ static void prvTaskExitError( void )
219227 portDISABLE_INTERRUPTS ();
220228 for ( ;; );
221229}
230+
222231/*-----------------------------------------------------------*/
223232
224233/*
You can’t perform that action at this time.
0 commit comments