From e63fe14ce703a4d1f82cbb4b9a6704f3d0006950 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Tue, 14 Jun 2011 15:46:38 +0000 Subject: [PATCH] the temp change in the state machine didn't really help the altitude issue after all. Need more testing as the temp sway is the major factor in the lack of air pressure accuracy. git-svn-id: https://arducopter.googlecode.com/svn/trunk@2556 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/APM_BMP085/APM_BMP085.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/APM_BMP085/APM_BMP085.cpp b/libraries/APM_BMP085/APM_BMP085.cpp index 1fc7093dec..189717ad98 100644 --- a/libraries/APM_BMP085/APM_BMP085.cpp +++ b/libraries/APM_BMP085/APM_BMP085.cpp @@ -109,7 +109,7 @@ uint8_t APM_BMP085_Class::Read() Command_ReadPress(); } }else{ - if (BMP085_State == 40){ + if (BMP085_State == 5){ if (digitalRead(BMP085_EOC)){ ReadPress(); Calculate();