Beacon demo for the BLE API using the nRF51822 native mode drivers

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_iBeacon by Bluetooth Low Energy

Revision:
77:7674b63f8aea
Parent:
75:b0385b4fdc3e
--- a/main.cpp	Thu Nov 26 14:38:09 2015 +0000
+++ b/main.cpp	Thu Dec 03 09:26:30 2015 +0000
@@ -53,7 +53,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()) { /* spin loop */ }
 
     while (true) {
         ble.waitForEvent(); // allows or low power operation