Skip to content

Commit cf557a1

Browse files
Coding standard fix.
1 parent 2d1f575 commit cf557a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

timers.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
}
463463
else
464464
{
465-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_AUTORELOAD );
465+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_AUTORELOAD );
466466
}
467467
}
468468
taskEXIT_CRITICAL();
@@ -550,7 +550,7 @@
550550
}
551551
else
552552
{
553-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_ACTIVE );
553+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_ACTIVE );
554554
}
555555

556556
/* Call the timer callback. */
@@ -829,7 +829,7 @@
829829
}
830830
else
831831
{
832-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_ACTIVE );
832+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_ACTIVE );
833833
}
834834

835835
/* Call the timer callback. */
@@ -846,7 +846,7 @@
846846
case tmrCOMMAND_STOP:
847847
case tmrCOMMAND_STOP_FROM_ISR:
848848
/* The timer has already been removed from the active list. */
849-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_ACTIVE );
849+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_ACTIVE );
850850
break;
851851

852852
case tmrCOMMAND_CHANGE_PERIOD:
@@ -876,7 +876,7 @@
876876
}
877877
else
878878
{
879-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_ACTIVE );
879+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_ACTIVE );
880880
}
881881
}
882882
#else /* if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) */
@@ -885,7 +885,7 @@
885885
* could not have been dynamically allocated. So there is
886886
* no need to free the memory - just mark the timer as
887887
* "not active". */
888-
pxTimer->ucStatus &= ( (uint8_t) ~tmrSTATUS_IS_ACTIVE );
888+
pxTimer->ucStatus &= ( ( uint8_t ) ~tmrSTATUS_IS_ACTIVE );
889889
}
890890
#endif /* configSUPPORT_DYNAMIC_ALLOCATION */
891891
break;

0 commit comments

Comments
 (0)