Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 621:1d79da5c393e
- Parent:
- 620:98998cc3789b
- Child:
- 625:19a7a530044b
diff -r 98998cc3789b -r 1d79da5c393e source/btle/btle.cpp
--- a/source/btle/btle.cpp Fri Apr 08 11:05:53 2016 +0100
+++ b/source/btle/btle.cpp Fri Apr 08 11:05:55 2016 +0100
@@ -189,12 +189,10 @@
break;
}
-#if !defined(TARGET_MCU_NRF51_16K_S110) && !defined(TARGET_MCU_NRF51_32K_S110)
// Close all pending discoveries for this connection
nRF5xGattClient& gattClient = ble.getGattClient();
gattClient.characteristicDescriptorDiscoverer().terminate(handle, BLE_ERROR_INVALID_STATE);
gattClient.discovery().terminate(handle);
-#endif
gap.processDisconnectionEvent(handle, reason);
break;
