From 8fb19f40927292192e219918a900994ae4861cb5 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Tue, 14 Jun 2011 04:51:07 +0000 Subject: [PATCH] removed filter on temp, was causing init problems. git-svn-id: https://arducopter.googlecode.com/svn/trunk@2553 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/APM_BMP085/APM_BMP085.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/APM_BMP085/APM_BMP085.cpp b/libraries/APM_BMP085/APM_BMP085.cpp index 5b3acb0008..7b9f3949a7 100644 --- a/libraries/APM_BMP085/APM_BMP085.cpp +++ b/libraries/APM_BMP085/APM_BMP085.cpp @@ -199,8 +199,8 @@ void APM_BMP085_Class::ReadTemp() tmp2 = Wire.receive(); while(!Wire.available()); // wait tmp = Wire.receive(); - RawTemp += tmp2 << 8 | tmp; - RawTemp = RawTemp >> 1; + RawTemp = tmp2 << 8 | tmp; + //RawTemp = RawTemp >> 1; } // Calculate Temperature and Pressure in real units.