Software can read HMC5883L

Dependents:   DOOR_BLE_PROGRAM

Fork of BLE_API by Bluetooth Low Energy

Revision:
1047:2d66d38d9ac9
Parent:
1045:b9d15970040f
Child:
1052:b55e1ad3e1b3
--- a/source/DiscoveredCharacteristic.cpp	Mon Jan 11 08:51:27 2016 +0000
+++ b/source/DiscoveredCharacteristic.cpp	Mon Jan 11 08:51:27 2016 +0000
@@ -60,8 +60,8 @@
 }
 
 ble_error_t DiscoveredCharacteristic::discoverDescriptors(
-    CharacteristicDescriptorDiscovery::DiscoveryCallback_t onCharacteristicDiscovered, 
-    CharacteristicDescriptorDiscovery::TerminationCallback_t onTermination) const {
+    const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& onCharacteristicDiscovered, 
+    const CharacteristicDescriptorDiscovery::TerminationCallback_t& onTermination) const {
 
     if(!gattc) {
         return BLE_ERROR_INVALID_STATE;