mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Merge branch 'main' into main
This commit is contained in:
commit
2d138ab417
|
@ -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