BLE testing connecting

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_HeartRate by Bluetooth Low Energy

Revision:
75:8128a06c0a21
Parent:
74:c9d58e7847c4
Child:
78:cc60d57d699d
--- 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) {