From 973d5b8179655405805c815f03d0b91ac35075f5 Mon Sep 17 00:00:00 2001 From: smckown Date: Wed, 4 Nov 2009 19:17:57 +0000 Subject: [PATCH] Widen the dead band detect range again. We leaked a false direction of 210 degrees (36 sectors) when in the dead band. --- tos/platforms/tmirws/sensors/WindVaneReadP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/platforms/tmirws/sensors/WindVaneReadP.nc b/tos/platforms/tmirws/sensors/WindVaneReadP.nc index 2076e239..69d97c97 100644 --- a/tos/platforms/tmirws/sensors/WindVaneReadP.nc +++ b/tos/platforms/tmirws/sensors/WindVaneReadP.nc @@ -65,7 +65,7 @@ implementation * the extra logic. */ DEAD_BEGIN = 6000, /* 4 12-bit ADC readings; about 120 degrees */ - DEAD_END = 9000, /* About 198 degrees */ + DEAD_END = 10000, /* About 198 degrees */ DEAD_THRESH = 14472, /* > when checking means in dead zone */ }; -- 2.39.2