Nordic Semiconductor / nRF51822

Dependents:   BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate writable_gatt ... more

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 15:55:37 2015 +0100
Parent:
356:55ede9fd5279
Child:
358:0feab33fde20
Commit message:
Synchronized with git rev 716a8f62
Author: Rohit Grover
drop BLEInstanceBase::reset()

Changed in this revision

nRF51822n.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/nRF51822n.cpp	Fri Jun 19 15:55:37 2015 +0100
+++ b/nRF51822n.cpp	Fri Jun 19 15:55:37 2015 +0100
@@ -76,8 +76,6 @@
     /* ToDo: Clear memory contents, reset the SD, etc. */
     btle_init();
 
-    reset();
-
     return BLE_ERROR_NONE;
 }
 
@@ -86,16 +84,6 @@
     return (softdevice_handler_sd_disable() == NRF_SUCCESS) ? BLE_ERROR_NONE : BLE_STACK_BUSY;
 }
 
-ble_error_t nRF51822n::reset(void)
-{
-    nrf_delay_us(500000);
-
-    /* Wait for the radio to come back up */
-    nrf_delay_us(1000000);
-
-    return BLE_ERROR_NONE;
-}
-
 void
 nRF51822n::waitForEvent(void)
 {