Simply tidy up the bracketing of a couple of expressions in tasks.c.

This commit is contained in:
Richard Barry 2010-08-29 07:25:09 +00:00
parent c4217432f2
commit 9af437a3a9

View file

@ -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 )
{