From: richardbarry Date: Sun, 29 Aug 2010 07:25:09 +0000 (+0000) Subject: Simply tidy up the bracketing of a couple of expressions in tasks.c. X-Git-Tag: V6.1.0~69 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e7c1c11479872a6ee2845bc8c5e5e11014d2988;p=freertos 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 --- 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 ) {