mirror of https://github.com/hak5/openwrt-owl.git
parent
b64c4c6b40
commit
06c7c04288
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue