From cf08870553600d97d2dea3092457fbb0a8a44f2e Mon Sep 17 00:00:00 2001 From: xtraeme Date: Sat, 8 Sep 2007 03:38:35 +0000 Subject: Use a 2 seconds period to refresh sensor data, previous value wasn't accepted and triggered an assertion. --- sys/dev/ic/nslm7x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') 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 -__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 #include @@ -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 *); -- cgit