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 )
374374
375375/*-----------------------------------------------------------*/ 
376376
377- __attribute__(( always_inline ))  BaseType_t  xPortIsInsideInterrupt ( void  )
377+ portFORCE_INLINE  BaseType_t  xPortIsInsideInterrupt ( void  )
378378{
379379    uint32_t  ulCurrentInterrupt ;
380380    BaseType_t  xReturn ;
Original file line number Diff line number Diff line change @@ -223,6 +223,10 @@ extern volatile UBaseType_t uxInterruptNesting;
223223    #define  portREMOVE_STATIC_QUALIFIER 
224224#endif 
225225
226+ #ifndef  portFORCE_INLINE 
227+     #define  portFORCE_INLINE     __attribute__( ( always_inline ) )
228+ #endif 
229+ 
226230/* *INDENT-OFF* */ 
227231#ifdef  __cplusplus 
228232    }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments