diff options
author | Andreas Buhr <andreas@andreasbuhr.de> | 2021-02-22 13:07:32 +0100 |
---|---|---|
committer | Andreas Buhr <andreas@andreasbuhr.de> | 2021-02-25 17:12:48 +0100 |
commit | 152de81bba34f7d049d4d1adeca30b40a67bb709 (patch) | |
tree | dfa810804a3a8a42e832db166f9fcc186fdce1be /examples/bluetooth/heartrate-game | |
parent | 5fafa8390937a507183936d8ddb543ceef6635a5 (diff) |
Correct documentation of heartrate-game example
Documentation of the heartrate-game example stated that a demo
mode is used if no devices are available, which is untrue.
This patch corrects the documentation to state that a demo mode
can be activated with a compile-time switch, which is true.
Change-Id: Ia7b7e9f524f8bd3f9c341c74b73e119faf6ebdaa
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game')
-rw-r--r-- | examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc b/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc index f0d4c365..dc710e56 100644 --- a/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc +++ b/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc @@ -52,8 +52,9 @@ service is required for this application to work. An alternative might be a programmable Bluetooth Low Energy device which might simulate the service. You can also use the \l {heartrate-server} {Heart Rate server} example for that purpose. - If no such device can be found, the example uses a demo mode which creates and displays - random values. + If no such device is available, a demo mode is available which creates and displays + random values. This demo mode is enabled by defining USE_SIMULATOR in + heartrate-global.h. The goal of the game is to increase the measured heart rate as much as possible. |