No Changes

Dependencies:   BLE_API mbed-dev-bin nRF51822

Dependents:   microbit

Fork of microbit-dal by Lancaster University

Revision:
26:493daf8966fd
Parent:
24:3373f1fb0353
Child:
29:62f8b007debf
--- a/source/bluetooth/MicroBitBLEManager.cpp	Wed Jul 13 12:17:58 2016 +0100
+++ b/source/bluetooth/MicroBitBLEManager.cpp	Wed Jul 13 12:18:03 2016 +0100
@@ -110,7 +110,7 @@
 static void bleDisconnectionCallback(const Gap::DisconnectionCallbackParams_t *reason)
 {
     MicroBitEvent(MICROBIT_ID_BLE,MICROBIT_BLE_EVT_DISCONNECTED);
-    
+
     storeSystemAttributes(reason->handle);
 
     if (manager)
@@ -120,7 +120,7 @@
 /**
   * Callback when a BLE connection is established.
   */
-static void bleConnectionCallback(const Gap::ConnectionCallbackParams_t *params)
+static void bleConnectionCallback(const Gap::ConnectionCallbackParams_t*)
 {
     MicroBitEvent(MICROBIT_ID_BLE,MICROBIT_BLE_EVT_CONNECTED);
 }
@@ -277,7 +277,7 @@
     // automatically restart advertising after a device disconnects.
     ble->gap().onDisconnection(bleDisconnectionCallback);
     ble->gattServer().onSysAttrMissing(bleSysAttrMissingCallback);
-    
+
     // generate an event when a Bluetooth connection is established
     ble->gap().onConnection(bleConnectionCallback);