From dc58c8a9056f4f713c828ad3d34345edca83247c Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Sat, 24 Mar 2012 23:21:11 +0900 Subject: [PATCH] AP_Baro - change data type size of temperature's average filter to int32_t (was int16_t) --- libraries/AP_Baro/AP_Baro_BMP085.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro_BMP085.h b/libraries/AP_Baro/AP_Baro_BMP085.h index a07833e7fb..c60e022cbe 100644 --- a/libraries/AP_Baro/AP_Baro_BMP085.h +++ b/libraries/AP_Baro/AP_Baro_BMP085.h @@ -38,7 +38,7 @@ class AP_Baro_BMP085 : public AP_Baro int16_t ac1, ac2, ac3, b1, b2, mb, mc, md; uint16_t ac4, ac5, ac6; - AverageFilterInt16_Size4 _temp_filter; + AverageFilterInt32_Size4 _temp_filter; uint32_t _retry_time;