|
|
|
@ -9,8 +9,8 @@
@@ -9,8 +9,8 @@
|
|
|
|
|
|
|
|
|
|
class AP_Baro_BMP085 : public AP_Baro |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
AP_Baro_BMP085(bool apm2_hardware): |
|
|
|
|
public: |
|
|
|
|
AP_Baro_BMP085(bool apm2_hardware) : |
|
|
|
|
_apm2_hardware(apm2_hardware) { |
|
|
|
|
_pressure_samples = 1; |
|
|
|
|
}; // Constructor
|
|
|
|
@ -25,7 +25,7 @@ class AP_Baro_BMP085 : public AP_Baro
@@ -25,7 +25,7 @@ class AP_Baro_BMP085 : public AP_Baro
|
|
|
|
|
int32_t get_raw_pressure(); |
|
|
|
|
int32_t get_raw_temp(); |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
private: |
|
|
|
|
int32_t RawPress; |
|
|
|
|
int32_t RawTemp; |
|
|
|
|
int16_t Temp; |
|
|
|
|