BLE testing connecting
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:8b36a7c45cd2
- 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) {