for bbc microbit library

Dependencies:   nrf51-sdk

Dependents:   microbit-dal

Fork of nRF51822 by Lancaster University

Revision:
544:9e3d053ad4ec
Parent:
543:53215259c0d2
Child:
545:d834e6591aee
--- 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;