mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Simply tidy up the bracketing of a couple of expressions in tasks.c.
This commit is contained in:
parent
c4217432f2
commit
9af437a3a9
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue