From 5e9a8d0c039a6828b1c8ae70c299402620990831 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Thu, 26 Nov 2015 09:39:24 +1100 Subject: [PATCH] Baro sim: Add missing initializers --- src/platforms/posix/drivers/barosim/baro.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/platforms/posix/drivers/barosim/baro.cpp b/src/platforms/posix/drivers/barosim/baro.cpp index 0bbb2c1c0d..ac5d31b6b9 100644 --- a/src/platforms/posix/drivers/barosim/baro.cpp +++ b/src/platforms/posix/drivers/barosim/baro.cpp @@ -202,6 +202,8 @@ BAROSIM::BAROSIM(const char *path) : _TEMP(0), _OFF(0), _SENS(0), + _P(0.0), + _T(0.0), _msl_pressure(101325), _baro_topic(nullptr), _orb_class_instance(-1),