File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ void vPortClearInterruptMaskFromISR( UBaseType_t uxSavedStatusRegister )
374
374
375
375
/*-----------------------------------------------------------*/
376
376
377
- __attribute__(( always_inline )) BaseType_t xPortIsInsideInterrupt ( void )
377
+ portFORCE_INLINE BaseType_t xPortIsInsideInterrupt ( void )
378
378
{
379
379
uint32_t ulCurrentInterrupt ;
380
380
BaseType_t xReturn ;
Original file line number Diff line number Diff line change @@ -223,6 +223,10 @@ extern volatile UBaseType_t uxInterruptNesting;
223
223
#define portREMOVE_STATIC_QUALIFIER
224
224
#endif
225
225
226
+ #ifndef portFORCE_INLINE
227
+ #define portFORCE_INLINE __attribute__( ( always_inline ) )
228
+ #endif
229
+
226
230
/* *INDENT-OFF* */
227
231
#ifdef __cplusplus
228
232
}
You can’t perform that action at this time.
0 commit comments