move applicationInstance out as a static variable.
This commit is contained in:
parent
0f6f90726c
commit
560d7d3de9
1 changed files with 1 additions and 1 deletions
|
@ -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 @@ btle_initializeSecurity()
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue