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 X_NUCLEO_IDB0XA1
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 74:c9d58e7847c4
- Parent:
- 73:49b6090478e2
- Child:
- 75:8128a06c0a21
diff -r 49b6090478e2 -r c9d58e7847c4 main.cpp
--- a/main.cpp Mon Nov 02 10:11:26 2015 +0000
+++ b/main.cpp Tue Nov 03 13:23:36 2015 +0000
@@ -46,8 +46,11 @@
triggerSensorPolling = true;
}
-void bleInitComplete(BLE &ble, ble_error_t error)
+void bleInitComplete(BLE::InitializationCompleteCallbackContext *params)
{
+ BLE &ble = params->ble;
+ ble_error_t error = params->error;
+
if (error != BLE_ERROR_NONE) {
return;
}
