Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

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