Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API BLE_HeartRate mbed nRF51822
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 75:8128a06c0a21
- Parent:
- 74:c9d58e7847c4
- Child:
- 77:d0c01a3d966f
--- a/main.cpp Tue Nov 03 13:23:36 2015 +0000 +++ b/main.cpp Tue Nov 03 15:41:48 2015 +0000 @@ -84,7 +84,7 @@ /* SpinWait for initialization to complete. This is necessary because the * BLE object is used in the main loop below. */ - while (ble.hasInitialized()) { /* spin loop */ } + while (ble.hasInitialized() == false) { /* spin loop */ } // infinite loop while (1) {