![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aa
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 318:1edcbcd1bf21
- Parent:
- 314:2e7378b25505
- Child:
- 319:cf62d065e70a
--- a/btle/btle_discovery.cpp Fri Jun 19 15:55:30 2015 +0100 +++ b/btle/btle_discovery.cpp Fri Jun 19 15:55:31 2015 +0100 @@ -275,7 +275,7 @@ if ((matchingCharacteristicUUID == UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) || (matchingCharacteristicUUID == characteristics[characteristicIndex].getShortUUID())) { if (characteristicCallback) { - characteristicCallback(characteristics[characteristicIndex]); + characteristicCallback(&characteristics[characteristicIndex]); } }