From: richardbarry Date: Wed, 7 May 2008 18:02:19 +0000 (+0000) Subject: Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR... X-Git-Tag: V5.0.2~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71c6f584658d834f5763c4dbe00005f6372d8381;p=freertos 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 --- 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