diff --git a/libraries/AP_Baro/AP_Baro_MS5611.cpp b/libraries/AP_Baro/AP_Baro_MS5611.cpp index c40a725e47..f71e882ede 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.cpp +++ b/libraries/AP_Baro/AP_Baro_MS5611.cpp @@ -161,7 +161,9 @@ AP_Baro_MS56XX::AP_Baro_MS56XX(AP_Baro &baro, AP_SerialBus *serial, bool use_tim _updated(false), _state(0), _last_timer(0), - _use_timer(use_timer) + _use_timer(use_timer), + _D1(0.0f), + _D2(0.0f) { _instance = _frontend.register_sensor(); _serial->init();