fork
Fork of nRF51822 by
Diff: nRF51822n.cpp
- Revision:
- 357:68c0de4426f1
- Parent:
- 346:14b090482fd2
- Child:
- 361:d2405f5a4853
diff -r 55ede9fd5279 -r 68c0de4426f1 nRF51822n.cpp --- 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) {