mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 13:01:57 -04:00
Fix IA32 compilation with common IRQ entry disabled (#1137)
This commit is contained in:
parent
a045081f73
commit
93e8199078
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue