From 30defabbbae55c9ebe4263a5694a0300e8a355d1 Mon Sep 17 00:00:00 2001 From: Ryzee119 Date: Sat, 7 Sep 2024 10:10:56 +0930 Subject: [PATCH] Fix IA32 compilation with common IRQ entry disabled --- 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 207f6076b..682cce951 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;