From f030afbdc54785cc85e71425d7bba87862aec19c Mon Sep 17 00:00:00 2001 From: Evelyn Eastmond Date: Sat, 1 Dec 2018 10:56:14 -0500 Subject: [PATCH] Removing extra params from a BLE read in WeDo2. --- src/extensions/scratch3_wedo2/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/extensions/scratch3_wedo2/index.js b/src/extensions/scratch3_wedo2/index.js index 3edb87840..6447dc751 100644 --- a/src/extensions/scratch3_wedo2/index.js +++ b/src/extensions/scratch3_wedo2/index.js @@ -787,9 +787,7 @@ class WeDo2 { _checkBatteryLevel () { this._ble.read( BLEService.DEVICE_SERVICE, - BLECharacteristic.LOW_VOLTAGE_ALERT, - false, - this._onMessage // will ignore result + BLECharacteristic.LOW_VOLTAGE_ALERT ); }