From 3d14c271d70369470322d64475ba84301ef52fc7 Mon Sep 17 00:00:00 2001 From: ActoryOu Date: Mon, 4 Nov 2024 09:26:29 +0000 Subject: [PATCH] Fix CI build error --- portable/GCC/ARM_CM3/portmacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/GCC/ARM_CM3/portmacro.h b/portable/GCC/ARM_CM3/portmacro.h index 757e44fd9..3d46e0911 100644 --- a/portable/GCC/ARM_CM3/portmacro.h +++ b/portable/GCC/ARM_CM3/portmacro.h @@ -171,7 +171,7 @@ extern void vPortExitCritical( void ); /*-----------------------------------------------------------*/ -#ifdef configASSERT +#if configASSERT_DEFINED == 1 void vPortValidateInterruptPriority( void ); #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID() vPortValidateInterruptPriority() #endif