mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
removed filter on temp, was causing init problems.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2553 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
d2330b4239
commit
65e161cbfb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user