From c6130f487756295bcfb7498b18660da1661b03c3 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Tue, 3 Nov 2015 13:18:33 +0000 Subject: [PATCH 1/2] fix missing return from BLE::init() --- ble/BLE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** From 73559d3befb8c870e14224fcecafb760bd5c70c0 Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Tue, 3 Nov 2015 13:18:50 +0000 Subject: [PATCH 2/2] version v2.0.3 --- module.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",