From: richardbarry Date: Mon, 19 May 2008 19:12:57 +0000 (+0000) Subject: Update the default macros used for critical sections within ISRs. X-Git-Tag: V5.0.2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2a39e6c49d144eff1d535bc942aaf2e322761a3;p=freertos 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 --- 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