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.
Fork of nRF51822 by
Revision 135:fb674d7364bf, committed 2015-05-08
- 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,
