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

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri May 08 15:33:56 2015 +0100
Parent:
134:df7e7964a9c3
Child:
136:9bb49953de6a
Commit message:
Synchronized with git rev 560d7d3d
Author: Rohit Grover
move applicationInstance out as a static variable.

Changed in this revision

btle/btle_security.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/btle/btle_security.cpp	Fri May 08 15:33:56 2015 +0100
+++ b/btle/btle_security.cpp	Fri May 08 15:33:56 2015 +0100
@@ -20,6 +20,7 @@
 #include "device_manager.h"
 #include "btle_security.h"
 
+static uint8_t applicationInstance;
 static ret_code_t dm_handler(dm_handle_t const *p_handle, dm_event_t const *p_event, ret_code_t event_result);
 
 ble_error_t
@@ -36,7 +37,6 @@
         return BLE_ERROR_UNSPECIFIED;
     }
 
-    uint8_t applicationInstance;
     const dm_application_param_t dm_param = {
         .evt_handler  = dm_handler,
         .service_type = DM_PROTOCOL_CNTXT_GATT_CLI_ID,