From 9a66a8ba9887be7ebf7f8fa93c80da8e1fc4325f Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Mon, 20 Feb 2017 09:23:15 +0100 Subject: Fix warning Also add initializer for yAxisG. Change-Id: If2518de5463ab509b8d58b20ead288374558cd5e Reviewed-by: Oliver Wolff --- tradeshow/iot-sensortag/mockdataprovider.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tradeshow/iot-sensortag') diff --git a/tradeshow/iot-sensortag/mockdataprovider.cpp b/tradeshow/iot-sensortag/mockdataprovider.cpp index 0324d98..4991e43 100644 --- a/tradeshow/iot-sensortag/mockdataprovider.cpp +++ b/tradeshow/iot-sensortag/mockdataprovider.cpp @@ -55,8 +55,9 @@ MockDataProvider::MockDataProvider(QString id, QObject* parent) : SensorTagDataProvider(id, parent), - xAxisG(-0.02), - zAxisG(0.02), + xAxisG(-0.02f), + yAxisG(0.0f), + zAxisG(0.02f), luxIncrease(100), rotationDegPerSecXIncrease(5), rotationDegPerSecYIncrease(7), -- cgit v1.2.3