MicroBit as BLE gamepad
Fork of nRF51822 by
Diff: source/nRF5xGattClient.cpp
- Revision:
- 545:d834e6591aee
- Parent:
- 542:1bf9c597f44f
- Child:
- 547:8550af084edc
diff -r 9e3d053ad4ec -r d834e6591aee source/nRF5xGattClient.cpp --- a/source/nRF5xGattClient.cpp Mon Jan 11 10:19:04 2016 +0000 +++ b/source/nRF5xGattClient.cpp Mon Jan 11 10:19:04 2016 +0000 @@ -38,8 +38,8 @@ ble_error_t nRF5xGattClient::discoverCharacteristicDescriptors( const DiscoveredCharacteristic& characteristic, - CharacteristicDescriptorDiscovery::DiscoveryCallback_t discoveryCallback, - CharacteristicDescriptorDiscovery::TerminationCallback_t terminationCallback) + const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& discoveryCallback, + const CharacteristicDescriptorDiscovery::TerminationCallback_t& terminationCallback) { return characteristicDescriptorDiscoverer.launch( characteristic,