diff options
Diffstat (limited to 'board/altera/common')
-rw-r--r-- | board/altera/common/sevenseg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/altera/common/sevenseg.c b/board/altera/common/sevenseg.c index 7ae7ca2..1f22c85 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; |