fdsf
Fork of nRF51822 by
Diff: btle/btle_discovery.cpp
- Revision:
- 318:1edcbcd1bf21
- Parent:
- 314:2e7378b25505
- Child:
- 319:cf62d065e70a
diff -r 943ad03c93ef -r 1edcbcd1bf21 btle/btle_discovery.cpp --- 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]); } }