From a2a39e6c49d144eff1d535bc942aaf2e322761a3 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 19 May 2008 19:12:57 +0000 Subject: [PATCH] Update the default macros used for critical sections within ISRs. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@359 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/FreeRTOS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index 0968e3fdf..3d64d4595 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -190,11 +190,11 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * ); #ifndef portSET_INTERRUPT_MASK_FROM_ISR - #define portSET_INTERRUPT_MASK_FROM_ISR() + #define portSET_INTERRUPT_MASK_FROM_ISR() 0 #endif #ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR - #define portCLEAR_INTERRUPT_MASK_FROM_ISR() + #define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedStatusValue ) ( void ) uxSavedStatusValue #endif -- 2.39.5