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_iBeacon by
Revision 77:7674b63f8aea, committed 2015-12-03
- Comitter:
- rgrover1
- Date:
- Thu Dec 03 09:26:30 2015 +0000
- Parent:
- 76:776e4ef44177
- Child:
- 78:88531e13c8e7
- Commit message:
- fixed a typo in main(). We would previously be spinning on initialization and never enter low-power mode.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
