]> git.sur5r.net Git - freertos/commitdiff
Simply tidy up the bracketing of a couple of expressions in tasks.c.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 29 Aug 2010 07:25:09 +0000 (07:25 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 29 Aug 2010 07:25:09 +0000 (07:25 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1066 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/tasks.c

index 195838f53b8531b443f0807458b8fcef90348b6e..ddbddaa8038a170a777d154009cb480d8fe7e1a1 100644 (file)
@@ -2282,7 +2282,7 @@ tskTCB *pxNewTCB;
 \r
                if( xSchedulerRunning != pdFALSE )\r
                {\r
-                       pxCurrentTCB->uxCriticalNesting++;\r
+                       ( pxCurrentTCB->uxCriticalNesting )++;\r
                }\r
        }\r
 \r
@@ -2297,7 +2297,7 @@ void vTaskExitCritical( void )
        {\r
                if( pxCurrentTCB->uxCriticalNesting > 0 )\r
                {\r
-                       pxCurrentTCB->uxCriticalNesting--;\r
+                       ( pxCurrentTCB->uxCriticalNesting )--;\r
 \r
                        if( pxCurrentTCB->uxCriticalNesting == 0 )\r
                        {\r