Clone of the nRF51822 repository from github The correct home is https://github.com/lancaster-university/nRF51822

Dependencies:   nrf51-sdk

Dependents:   microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more

Revision:
544:9e3d053ad4ec
Parent:
543:53215259c0d2
Child:
545:d834e6591aee
diff -r 53215259c0d2 -r 9e3d053ad4ec source/btle/btle_discovery.cpp
--- a/source/btle/btle_discovery.cpp	Mon Jan 11 10:19:03 2016 +0000
+++ b/source/btle/btle_discovery.cpp	Mon Jan 11 10:19:04 2016 +0000
@@ -47,7 +47,7 @@
 
                 case BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND:
                 default:
-                    sdSingleton.terminateCharacteristicDiscovery();
+                    sdSingleton.terminateCharacteristicDiscovery(BLE_ERROR_NONE);
                     break;
             }
             break;