From 71c6f584658d834f5763c4dbe00005f6372d8381 Mon Sep 17 00:00:00 2001 From: richardbarry 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@344 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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 -- 2.39.5