Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Revision:
24:3444ee6fd548
Parent:
23:cdab28442479
Child:
25:a1c356620131
--- a/nRF51822n.cpp	Tue Jun 10 08:57:31 2014 +0100
+++ b/nRF51822n.cpp	Tue Jun 10 09:32:28 2014 +0100
@@ -23,16 +23,16 @@
 /**
  * The singleton which represents the nRF51822 transport for the BLEDevice.
  */
-static nRF51822n deviceInstance;
+static nRF51822n peripheralInstance;
 
 /**
  * BLE-API requires an implementation of the following function in order to
  * obtain its transport handle.
  */
-BLEDeviceInstanceBase *
-createBLEDeviceInstance(void)
+BLEPeripheralInstanceBase *
+createBLEPeripheralInstance(void)
 {
-    return (&deviceInstance);
+    return (&peripheralInstance);
 }
 
 /**************************************************************************/