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: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51822n.cpp
- Revision:
- 357:68c0de4426f1
- Parent:
- 346:14b090482fd2
- Child:
- 361:d2405f5a4853
--- 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)
{
