summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-29 14:16:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-29 14:16:16 +0000
commit0ef6b85ae5f102286920c7231d34a1c210810fdb (patch)
tree03b5403896b1354a9a164705ad13411558078fe6
parentb86d0dd384d71adae221e8d6d93a2e3426840777 (diff)
Use a less bright pattern.
-rw-r--r--sys/arch/vax/vax/led.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/vax/vax/led.c b/sys/arch/vax/vax/led.c
index cf9e3028ed5..1ed5420ee9d 100644
--- a/sys/arch/vax/vax/led.c
+++ b/sys/arch/vax/vax/led.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: led.c,v 1.1 2006/07/20 19:15:35 miod Exp $ */
+/* $OpenBSD: led.c,v 1.2 2006/07/29 14:16:15 miod Exp $ */
/* $NetBSD: leds.c,v 1.4 2005/12/11 12:19:37 christos Exp $ */
/*
@@ -187,9 +187,6 @@ ledattach(struct device *parent, struct device *self, void *aux)
led_blink(sc);
}
-/*
- * This is called by the clock interrupt.
- */
void
led_blink(void *v)
{
@@ -209,7 +206,7 @@ led_blink(void *v)
return;
}
- *sc->sc_reg = ~*sc->sc_patpos++;
+ *sc->sc_reg = *sc->sc_patpos++;
if (*sc->sc_patpos == 0)
sc->sc_patpos = sc->sc_pat;