]> git.sur5r.net Git - freertos/commitdiff
Update the default macros used for critical sections within ISRs.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 19 May 2008 19:12:57 +0000 (19:12 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 19 May 2008 19:12:57 +0000 (19:12 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@359 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/FreeRTOS.h

index 0968e3fdfcb801d5090e1f685d482c12bf30ddce..3d64d4595c4cb9a9de542f4a6ec7a8f99b0f67b3 100644 (file)
@@ -190,11 +190,11 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
 \r
 \r
 #ifndef portSET_INTERRUPT_MASK_FROM_ISR\r
-       #define portSET_INTERRUPT_MASK_FROM_ISR()\r
+       #define portSET_INTERRUPT_MASK_FROM_ISR() 0\r
 #endif\r
 \r
 #ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR\r
-       #define portCLEAR_INTERRUPT_MASK_FROM_ISR()\r
+       #define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedStatusValue ) ( void ) uxSavedStatusValue\r
 #endif\r
 \r
 \r