my copy of nRF51822

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
618:6eb60aaf0724
Parent:
617:a7c074f5f875
Child:
620:98998cc3789b
--- a/source/btle/btle.cpp	Fri Apr 08 11:05:49 2016 +0100
+++ b/source/btle/btle.cpp	Fri Apr 08 11:05:50 2016 +0100
@@ -191,11 +191,8 @@
 
             // Close all pending discoveries for this connection
             nRF5xGattClient& gattClient = ble.getGattClient();
-#if  defined(TARGET_MCU_NRF51_16K_S110) || defined(TARGET_MCU_NRF51_32K_S110)
-#else
             gattClient.characteristicDescriptorDiscoverer().terminate(handle, BLE_ERROR_INVALID_STATE);
             gattClient.discovery().terminate(handle);
-#endif
 
             gap.processDisconnectionEvent(handle, reason);
             break;