From 9e7c1c11479872a6ee2845bc8c5e5e11014d2988 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 29 Aug 2010 07:25:09 +0000 Subject: [PATCH] Simply tidy up the bracketing of a couple of expressions in tasks.c. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1066 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/tasks.c b/Source/tasks.c index 195838f53..ddbddaa80 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -2282,7 +2282,7 @@ tskTCB *pxNewTCB; if( xSchedulerRunning != pdFALSE ) { - pxCurrentTCB->uxCriticalNesting++; + ( pxCurrentTCB->uxCriticalNesting )++; } } @@ -2297,7 +2297,7 @@ void vTaskExitCritical( void ) { if( pxCurrentTCB->uxCriticalNesting > 0 ) { - pxCurrentTCB->uxCriticalNesting--; + ( pxCurrentTCB->uxCriticalNesting )--; if( pxCurrentTCB->uxCriticalNesting == 0 ) { -- 2.39.5