From bad6591e6de1bfc08ae2eac61b49288ee217738b Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Sun, 3 Jun 2012 17:31:17 +0900 Subject: [PATCH] AP_Baro: fixed comment to clarify that every-other call updates temperature or pressure --- libraries/AP_Baro/AP_Baro_BMP085.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro_BMP085.cpp b/libraries/AP_Baro/AP_Baro_BMP085.cpp index 50a0ac6d88..118278d248 100644 --- a/libraries/AP_Baro/AP_Baro_BMP085.cpp +++ b/libraries/AP_Baro/AP_Baro_BMP085.cpp @@ -102,7 +102,7 @@ bool AP_Baro_BMP085::init( AP_PeriodicProcess * scheduler ) } // Read the sensor. This is a state machine -// We read one time Temperature (state=1) and then 4 times Pressure (states 2-5) +// We read Temperature (state=1) and then Pressure (state!=1) on alternate calls uint8_t AP_Baro_BMP085::read() { uint8_t result = 0;