We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1d93c7 commit 45d332fCopy full SHA for 45d332f
1 file changed
portable/MPLAB/PIC32MZ/port.c
@@ -144,6 +144,14 @@ static void prvTaskExitError( void );
144
145
/*-----------------------------------------------------------*/
146
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
155
/* Records the interrupt nesting depth. This is initialised to one as it is
156
decremented to 0 when the first task starts. */
157
volatile UBaseType_t uxInterruptNesting = 0x01;
@@ -219,6 +227,7 @@ static void prvTaskExitError( void )
219
227
portDISABLE_INTERRUPTS();
220
228
for( ;; );
221
229
}
230
222
231
223
232
224
233
/*
0 commit comments