projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ffc79
)
Fix typo in broadcom-diag LED output enable
author
Peter Denison
<openwrt@marshadder.org>
Mon, 12 May 2008 19:46:53 +0000
(19:46 +0000)
committer
Peter Denison
<openwrt@marshadder.org>
Mon, 12 May 2008 19:46:53 +0000
(19:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11125
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index
b670944
..
df28cab
100644
(file)
--- 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;
}