diff options
author | Kari Hautamäki <kari.hautamaki@qt.io> | 2017-01-30 16:30:32 +0200 |
---|---|---|
committer | Kari Hautamäki <kari.hautamaki@qt.io> | 2017-01-30 14:39:24 +0000 |
commit | 632e35db6d6ef6bf15891e486da983aabfb740b3 (patch) | |
tree | 24c4727d9275d52799fce742cd11f99b2ecad0fa /tradeshow/iot-sensortag/bluetoothdevice.cpp | |
parent | 31bf214d734c6d7ac8773eb97911219825579ae5 (diff) |
Display rotation values in GyroChart
Displays rotation values in GyroChart instead of *_degPerSec values. Also, elapsed time between measurements given a meaningful initial value in BluetoothDataProvider.
Change-Id: Id4aa8820d8e45ac72d85cc963e993941ccacd599
Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdevice.cpp')
-rw-r--r-- | tradeshow/iot-sensortag/bluetoothdevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdevice.cpp b/tradeshow/iot-sensortag/bluetoothdevice.cpp index 0e43956..66faf5a 100644 --- a/tradeshow/iot-sensortag/bluetoothdevice.cpp +++ b/tradeshow/iot-sensortag/bluetoothdevice.cpp @@ -309,6 +309,7 @@ void BluetoothDevice::serviceScanDone() connect(motionService, &QLowEnergyService::characteristicRead, this, &BluetoothDevice::characteristicsRead); motionService->discoverDetails(); } + attitudeChangeInterval.restart(); } } |