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_Button by
Diff: main.cpp
- Revision:
 - 8:a7ba7aaba460
 - Parent:
 - 6:18d8750f39ee
 - Child:
 - 9:0f6951db24f1
 
--- a/main.cpp	Thu Jul 02 08:45:35 2015 +0000
+++ b/main.cpp	Tue Sep 29 09:58:02 2015 +0000
@@ -37,7 +37,7 @@
     buttonServicePtr->updateButtonState(false);
 }
 
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     ble.gap().startAdvertising();
 }
    