テスト用
Fork of nRF51822 by
Diff: nRF51Gap.cpp
- Revision:
- 40:1cb3707fa798
- Parent:
- 37:c29c330d942c
- Child:
- 44:47da5c62e067
diff -r d52a28e1fa80 -r 1cb3707fa798 nRF51Gap.cpp --- 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; }