mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: coverity fixes - add param init in constructor
This commit is contained in:
parent
2a30b1862b
commit
ff97bdd605
|
@ -161,7 +161,9 @@ AP_Baro_MS56XX::AP_Baro_MS56XX(AP_Baro &baro, AP_SerialBus *serial, bool use_tim
|
||||||
_updated(false),
|
_updated(false),
|
||||||
_state(0),
|
_state(0),
|
||||||
_last_timer(0),
|
_last_timer(0),
|
||||||
_use_timer(use_timer)
|
_use_timer(use_timer),
|
||||||
|
_D1(0.0f),
|
||||||
|
_D2(0.0f)
|
||||||
{
|
{
|
||||||
_instance = _frontend.register_sensor();
|
_instance = _frontend.register_sensor();
|
||||||
_serial->init();
|
_serial->init();
|
||||||
|
|
Loading…
Reference in New Issue