Skip to content

Commit 93e8199

Browse files
authored
Fix IA32 compilation with common IRQ entry disabled (#1137)
1 parent a045081 commit 93e8199

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

portable/GCC/IA32_flat/port.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,11 +666,13 @@ static BaseType_t prvCheckValidityOfVectorNumber( uint32_t ulVectorNumber )
666666
/* In use by FreeRTOS. */
667667
xReturn = pdFAIL;
668668
}
669+
#if ( configUSE_COMMON_INTERRUPT_ENTRY_POINT == 1 )
669670
else if( xInterruptHandlerTable[ ulVectorNumber ] != NULL )
670671
{
671672
/* Already in use by the application. */
672673
xReturn = pdFAIL;
673674
}
675+
#endif /* configUSE_COMMON_INTERRUPT_ENTRY_POINT */
674676
else
675677
{
676678
xReturn = pdPASS;

0 commit comments

Comments
 (0)