diff options
| author | xtraeme <xtraeme@NetBSD.org> | 2007-09-08 03:38:35 +0000 |
|---|---|---|
| committer | xtraeme <xtraeme@NetBSD.org> | 2007-09-08 03:38:35 +0000 |
| commit | cf08870553600d97d2dea3092457fbb0a8a44f2e (patch) | |
| tree | 85edefcc8052861092e8206f931b387fcf1084bc /sys/dev/ic | |
| parent | 83b57478edb2c85d6f76de2bce14f863b22d7116 (diff) | |
Use a 2 seconds period to refresh sensor data, previous value wasn't
accepted and triggered an assertion.
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/nslm7x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/nslm7x.c b/sys/dev/ic/nslm7x.c index 90189fcf8b8..e61f7d5e7cd 100644 --- a/sys/dev/ic/nslm7x.c +++ b/sys/dev/ic/nslm7x.c @@ -1,4 +1,4 @@ -/* $NetBSD: nslm7x.c,v 1.40 2007/09/08 00:42:11 xtraeme Exp $ */ +/* $NetBSD: nslm7x.c,v 1.41 2007/09/08 03:38:35 xtraeme Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.40 2007/09/08 00:42:11 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.41 2007/09/08 03:38:35 xtraeme Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -75,7 +75,7 @@ __KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.40 2007/09/08 00:42:11 xtraeme Exp $"); #define RFACT(x, y) (RFACT_NONE * ((x) + (y)) / (y)) #define NRFACT(x, y) (-RFACT_NONE * (x) / (y)) -#define LM_REFRESH_TIMO (1.5 * hz) /* 1.5 seconds */ +#define LM_REFRESH_TIMO (2 * hz) /* 2 seconds */ static int lm_match(struct lm_softc *); static int wb_match(struct lm_softc *); |
