summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/devicehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartrate-game/devicehandler.h')
-rw-r--r--examples/bluetooth/heartrate-game/devicehandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/devicehandler.h b/examples/bluetooth/heartrate-game/devicehandler.h
index d00f0406..08831cb3 100644
--- a/examples/bluetooth/heartrate-game/devicehandler.h
+++ b/examples/bluetooth/heartrate-game/devicehandler.h
@@ -101,7 +101,7 @@ private:
void confirmedDescriptorWrite(const QLowEnergyDescriptor &d,
const QByteArray &value);
-#ifdef Q_OS_WIN32
+#ifdef SIMULATOR
void updateDemoHR();
#endif
private:
@@ -123,7 +123,7 @@ private:
QVector<int> m_measurements;
-#ifdef Q_OS_WIN32
+#ifdef SIMULATOR
QTimer m_demoTimer;
#endif
};