Baro: init members to resolve compiler warning

This commit is contained in:
Randy Mackay 2014-08-14 13:14:41 +09:00
parent 7d7272520e
commit 424a65663a

View File

@ -10,7 +10,14 @@
class AP_Baro
{
public:
AP_Baro() {
AP_Baro() :
_last_update(0),
_pressure_samples(0),
_altitude(0.0f),
_last_altitude_EAS2TAS(0.0f),
_EAS2TAS(0.0f),
_last_altitude_t(0)
{
// initialise flags
_flags.healthy = false;
_flags.alt_ok = false;