diff options
author | Peter Denison <openwrt@marshadder.org> | 2008-05-12 19:46:53 +0000 |
---|---|---|
committer | Peter Denison <openwrt@marshadder.org> | 2008-05-12 19:46:53 +0000 |
commit | 06c7c0428831969f02dcb5585edb859cf7025640 (patch) | |
tree | e2b22ca2974b20e95bb53b390bcc60767d95a493 /package | |
parent | b64c4c6b403a3ca43043c5ff98d6b2e4504e0a79 (diff) | |
download | mtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.zip mtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.tar.gz mtk-20170518-06c7c0428831969f02dcb5585edb859cf7025640.tar.bz2 |
Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-diag/src/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index b670944..df28cab 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -990,7 +990,7 @@ static void register_leds(struct led_t *l) l->state = 0; set_led_extif(l); } else { - if (l->polarity != INPUT) oe_mask != l->gpio; + if (l->polarity != INPUT) oe_mask |= l->gpio; mask |= l->gpio; val |= (l->polarity == NORMAL)?0:l->gpio; } |