From 6177c6e4a47c09c36594ce8b19dd03e65614434a Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Wed, 7 May 2008 18:02:19 +0000 Subject: [PATCH] Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR() default (empty) macros. --- Source/include/FreeRTOS.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index 2e3069a96..0968e3fdf 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -189,6 +189,15 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * ); #endif +#ifndef portSET_INTERRUPT_MASK_FROM_ISR + #define portSET_INTERRUPT_MASK_FROM_ISR() +#endif + +#ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR + #define portCLEAR_INTERRUPT_MASK_FROM_ISR() +#endif + + /* Remove any unused trace macros. */ #ifndef traceSTART /* Used to perform any necessary initialisation - for example, open a file