nordic
Fork of nRF51822 by
Diff: source/btle/btle_discovery.cpp
- Revision:
- 546:d834e6591aee
- Parent:
- 545:9e3d053ad4ec
- Child:
- 549:920e941cbe1e
--- a/source/btle/btle_discovery.cpp Mon Jan 11 10:19:04 2016 +0000 +++ b/source/btle/btle_discovery.cpp Mon Jan 11 10:19:04 2016 +0000 @@ -98,7 +98,7 @@ case BLE_GATTC_EVT_DESC_DISC_RSP: { uint16_t conn_handle = p_ble_evt->evt.gattc_evt.conn_handle; uint16_t status = p_ble_evt->evt.gattc_evt.gatt_status; - ble_gattc_evt_desc_disc_rsp_t discovered_descriptors = p_ble_evt->evt.gattc_evt.params.desc_disc_rsp; + const ble_gattc_evt_desc_disc_rsp_t& discovered_descriptors = p_ble_evt->evt.gattc_evt.params.desc_disc_rsp; switch(status) { case BLE_GATT_STATUS_SUCCESS: