Heart Rate Monitor example for the BLE API using nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 75:8128a06c0a21
- Parent:
- 74:c9d58e7847c4
--- 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) {