summaryrefslogtreecommitdiff
path: root/board/altera/common/sevenseg.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/altera/common/sevenseg.c')
-rw-r--r--board/altera/common/sevenseg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/altera/common/sevenseg.c b/board/altera/common/sevenseg.c
index 7ae7ca2116..1f22c8524a 100644
--- a/board/altera/common/sevenseg.c
+++ b/board/altera/common/sevenseg.c
@@ -87,10 +87,10 @@ static inline void __sevenseg_set (unsigned int value)
#if (SEVENSEG_ACTIVE == 0)
sevenseg_portval = (sevenseg_portval & SEVENDEG_MASK_DP)
- | ((~value) & (~SEVENDEG_MASK_DP));
+ | ((~value) & (~SEVENDEG_MASK_DP));
#else
sevenseg_portval = (sevenseg_portval & SEVENDEG_MASK_DP)
- | (value);
+ | (value);
#endif
piop->data = sevenseg_portval;