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 mbed nRF51822
Fork of BLE_HeartRate by
Revision 75:8128a06c0a21, committed 2015-11-03
- Comitter:
- vcoubard
- Date:
- Tue Nov 03 15:41:48 2015 +0000
- Parent:
- 74:c9d58e7847c4
- Child:
- 76:2deee6623e43
- Commit message:
- fix waiting condition for ble initialization process
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {