drop BLEInstanceBase::reset()
This commit is contained in:
parent
954c08e84d
commit
716a8f6258
1 changed files with 0 additions and 12 deletions
|
@ -76,8 +76,6 @@ ble_error_t nRF51822n::init(void)
|
|||
/* ToDo: Clear memory contents, reset the SD, etc. */
|
||||
btle_init();
|
||||
|
||||
reset();
|
||||
|
||||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
||||
|
@ -86,16 +84,6 @@ ble_error_t nRF51822n::shutdown(void)
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue