fdsf
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 586:533fd7fdb0fe
- Parent:
- 577:d38f01a3e701
- Child:
- 590:3bdd5346ded1
--- a/source/btle/btle.cpp Mon Jan 11 10:19:28 2016 +0000 +++ b/source/btle/btle.cpp Mon Jan 11 10:19:29 2016 +0000 @@ -118,9 +118,7 @@ ASSERT_STATUS( softdevice_ble_evt_handler_set(btle_handler)); ASSERT_STATUS( softdevice_sys_evt_handler_set(sys_evt_dispatch)); - btle_gap_init(); - - return ERROR_NONE; + return btle_gap_init(); } static void btle_handler(ble_evt_t *p_ble_evt)