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); } /** diff --git a/module.json b/module.json index 431bd76..3874a8a 100644 --- a/module.json +++ b/module.json @@ -1,6 +1,6 @@ { "name": "ble", - "version": "2.0.2", + "version": "2.0.3", "description": "The BLE module offers a high level abstraction for using Bluetooth Low Energy on multiple platforms.", "keywords": [ "Bluetooth",