Fix typo in broadcom-diag LED output enable

SVN-Revision: 11125
master
Peter Denison 17 years ago
parent b64c4c6b40
commit 06c7c04288
  1. 2
      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;
}

Loading…
Cancel
Save