Fix IA32 compilation with common IRQ entry disabled (#1137)

This commit is contained in:
Ryzee119 2024-09-09 16:54:38 +09:30 committed by GitHub
parent a045081f73
commit 93e8199078
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;