projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo in broadcom-diag LED output enable
[openwrt/staging/chunkeey.git]
/
package
/
broadcom-diag
/
src
/
diag.c
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index b670944e02d3c5c1a8f6aa67c1611f95c7268013..df28cab297b687767eacb9ee6540001b64049157 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;
}