We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d82e32d commit 40f51fdCopy full SHA for 40f51fd
2 files changed
portable/MPLAB/PIC32MZ/port.c
@@ -374,7 +374,7 @@ void vPortClearInterruptMaskFromISR( UBaseType_t uxSavedStatusRegister )
374
375
/*-----------------------------------------------------------*/
376
377
-__attribute__((always_inline)) BaseType_t xPortIsInsideInterrupt( void )
+portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
378
{
379
uint32_t ulCurrentInterrupt;
380
BaseType_t xReturn;
portable/MPLAB/PIC32MZ/portmacro.h
@@ -223,6 +223,10 @@ extern volatile UBaseType_t uxInterruptNesting;
223
#define portREMOVE_STATIC_QUALIFIER
224
#endif
225
226
+#ifndef portFORCE_INLINE
227
+ #define portFORCE_INLINE __attribute__( ( always_inline ) )
228
+#endif
229
+
230
/* *INDENT-OFF* */
231
#ifdef __cplusplus
232
}
0 commit comments