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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more
Diff: nRF51Gap.cpp
- Revision:
- 40:1cb3707fa798
- Parent:
- 37:c29c330d942c
- Child:
- 44:47da5c62e067
--- a/nRF51Gap.cpp Tue Jul 08 11:15:50 2014 +0100 +++ b/nRF51Gap.cpp Thu Jul 10 11:29:44 2014 +0100 @@ -225,9 +225,7 @@ /* Disconnect if we are connected to a central device */ ASSERT_INT(ERROR_NONE, - sd_ble_gap_disconnect(m_connectionHandle, - BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION), - BLE_ERROR_PARAM_OUT_OF_RANGE); + sd_ble_gap_disconnect(m_connectionHandle, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION), BLE_ERROR_PARAM_OUT_OF_RANGE); return BLE_ERROR_NONE; }