summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/mockdataprovider.h
diff options
context:
space:
mode:
authorOtto Ryynänen <otto.ryynanen@qt.io>2017-02-01 11:18:49 +0200
committerTitta Heikkala <titta.heikkala@qt.io>2017-02-01 09:35:56 +0000
commit80da360e5213c0481ba7c19a463129eb19e3d7fa (patch)
treeb93971eb0d5df02a5a340bb39c26eb136ae97f19 /tradeshow/iot-sensortag/mockdataprovider.h
parent7cfb17d7db0ffc79210fe6c24e8c358eaf535e65 (diff)
Accelometer changed to report values in G instead of mG
Change-Id: I4193b6566f7408f3e3e09161987d107941e2a6b2 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/mockdataprovider.h')
-rw-r--r--tradeshow/iot-sensortag/mockdataprovider.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tradeshow/iot-sensortag/mockdataprovider.h b/tradeshow/iot-sensortag/mockdataprovider.h
index 5f1f1e3..18b238a 100644
--- a/tradeshow/iot-sensortag/mockdataprovider.h
+++ b/tradeshow/iot-sensortag/mockdataprovider.h
@@ -75,9 +75,9 @@ public slots:
private:
QTimer *oneSecondTimer;
QTimer *twentyMillisecondTimer;
- int xAxisG;
- int yAxisG;
- int zAxisG;
+ float xAxisG;
+ float yAxisG;
+ float zAxisG;
int luxIncrease;
int rotationDegPerSecXIncrease;
int rotationDegPerSecYIncrease;