Skip to content

Commit

Permalink
Fix IA32 compilation with common IRQ entry disabled (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzee119 authored Sep 9, 2024
1 parent a045081 commit 93e8199
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portable/GCC/IA32_flat/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,11 +666,13 @@ static BaseType_t prvCheckValidityOfVectorNumber( uint32_t ulVectorNumber )
/* In use by FreeRTOS. */
xReturn = pdFAIL;
}
#if ( configUSE_COMMON_INTERRUPT_ENTRY_POINT == 1 )
else if( xInterruptHandlerTable[ ulVectorNumber ] != NULL )
{
/* Already in use by the application. */
xReturn = pdFAIL;
}
#endif /* configUSE_COMMON_INTERRUPT_ENTRY_POINT */
else
{
xReturn = pdPASS;
Expand Down

0 comments on commit 93e8199

Please sign in to comment.