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 uBit_BLE_UART_Voltmeter by
Diff: main.cpp
- Revision:
- 9:5f0732aa3008
- Parent:
- 8:f9bf6d403cde
- Child:
- 10:053397a8dc40
--- a/main.cpp	Tue Jul 07 06:58:31 2015 +0000
+++ b/main.cpp	Tue Sep 29 12:12:10 2015 +0000
@@ -33,7 +33,7 @@
 DigitalOut led1(LED1);
 UARTService *uart;
 
-void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason)
+void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
 {
     DEBUG("Disconnected!\n\r");
     DEBUG("Restarting the advertising process\n\r");
    