AP_Baro - fixed small compiler warning to do with order of parameters in constructor

This commit is contained in:
rmackay9 2012-02-29 22:46:29 +09:00
parent c819a0f68a
commit d81c951849

View File

@ -11,9 +11,9 @@ class AP_Baro_BMP085 : public AP_Baro
{ {
public: public:
AP_Baro_BMP085(bool apm2_hardware): AP_Baro_BMP085(bool apm2_hardware):
_apm2_hardware(apm2_hardware),
_temp_index(0), _temp_index(0),
_press_index(0), _press_index(0){}; // Constructor
_apm2_hardware(apm2_hardware){}; // Constructor
/* AP_Baro public interface: */ /* AP_Baro public interface: */