From 93e8199078fdde7785582d2458aec672ef4e9be2 Mon Sep 17 00:00:00 2001 From: Ryzee119 Date: Mon, 9 Sep 2024 16:54:38 +0930 Subject: [PATCH] Fix IA32 compilation with common IRQ entry disabled (#1137) --- portable/GCC/IA32_flat/port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portable/GCC/IA32_flat/port.c b/portable/GCC/IA32_flat/port.c index 207f6076bee..682cce951b5 100644 --- a/portable/GCC/IA32_flat/port.c +++ b/portable/GCC/IA32_flat/port.c @@ -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;