High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
887:fed45b77c90c
Parent:
886:0a45c67b2301
Child:
888:e43584ccdf03
diff -r 0a45c67b2301 -r fed45b77c90c ble/BLE.h
--- a/ble/BLE.h	Thu Nov 26 12:51:59 2015 +0000
+++ b/ble/BLE.h	Thu Nov 26 12:51:59 2015 +0000
@@ -104,7 +104,7 @@
      */
     ble_error_t init(InitializationCompleteCallback_t initCompleteCallback = NULL) {
         FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(initCompleteCallback);
-        initImplementation(callback);
+        return initImplementation(callback);
     }
 
     /**
@@ -114,7 +114,7 @@
     template<typename T>
     ble_error_t init(T *object, void (T::*initCompleteCallback)(InitializationCompleteCallbackContext *context)) {
         FunctionPointerWithContext<InitializationCompleteCallbackContext *> callback(object, initCompleteCallback);
-        initImplementation(callback);
+        return initImplementation(callback);
     }
 
     /**