diff --git a/ble/BLE.h b/ble/BLE.h index 6a92ca1..ac5883b 100644 --- a/ble/BLE.h +++ b/ble/BLE.h @@ -104,7 +104,7 @@ public: */ ble_error_t init(InitializationCompleteCallback_t initCompleteCallback = NULL) { FunctionPointerWithContext callback(initCompleteCallback); - initImplementation(callback); + return initImplementation(callback); } /** @@ -114,7 +114,7 @@ public: template ble_error_t init(T *object, void (T::*initCompleteCallback)(InitializationCompleteCallbackContext *context)) { FunctionPointerWithContext callback(object, initCompleteCallback); - initImplementation(callback); + return initImplementation(callback); } /**