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
Diff: source/btle/btle_discovery.cpp
- Revision:
- 545:d834e6591aee
- Parent:
- 544:9e3d053ad4ec
- Child:
- 548: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: