mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Fix IA32 compilation with common IRQ entry disabled
This commit is contained in:
parent
a045081f73
commit
30defabbba
|
@ -666,11 +666,13 @@ static BaseType_t prvCheckValidityOfVectorNumber( uint32_t ulVectorNumber )
|
||||||
/* In use by FreeRTOS. */
|
/* In use by FreeRTOS. */
|
||||||
xReturn = pdFAIL;
|
xReturn = pdFAIL;
|
||||||
}
|
}
|
||||||
|
#if ( configUSE_COMMON_INTERRUPT_ENTRY_POINT == 1 )
|
||||||
else if( xInterruptHandlerTable[ ulVectorNumber ] != NULL )
|
else if( xInterruptHandlerTable[ ulVectorNumber ] != NULL )
|
||||||
{
|
{
|
||||||
/* Already in use by the application. */
|
/* Already in use by the application. */
|
||||||
xReturn = pdFAIL;
|
xReturn = pdFAIL;
|
||||||
}
|
}
|
||||||
|
#endif /* configUSE_COMMON_INTERRUPT_ENTRY_POINT */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
xReturn = pdPASS;
|
xReturn = pdPASS;
|
||||||
|
|
Loading…
Reference in a new issue