From cbbdb8af9b8e4d7d19022e2157d4b5336d64b8aa Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 21 Nov 2015 14:23:15 +0100 Subject: [PATCH] Gyro sim: add missing call initializer --- src/platforms/posix/drivers/gyrosim/gyrosim.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/posix/drivers/gyrosim/gyrosim.cpp b/src/platforms/posix/drivers/gyrosim/gyrosim.cpp index 9fb3ae4c6b..f9e9272049 100644 --- a/src/platforms/posix/drivers/gyrosim/gyrosim.cpp +++ b/src/platforms/posix/drivers/gyrosim/gyrosim.cpp @@ -311,6 +311,7 @@ GYROSIM::GYROSIM(const char *path_accel, const char *path_gyro, enum Rotation ro VirtDevObj("GYROSIM", path_accel, ACCEL_BASE_DEVICE_PATH, 1000), _gyro(new GYROSIM_gyro(this, path_gyro)), _product(GYROSIMES_REV_C4), + _call{}, _accel_reports(nullptr), _accel_scale{}, _accel_range_scale(0.0f),